Skip to content

Commit

Permalink
Fix installing tomljson on CI (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron authored Jan 23, 2023
1 parent 36eec79 commit 8277526
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,11 @@ jobs:
- run: rustup default nightly

- name: Install tomljson
run: go get github.com/pelletier/go-toml/cmd/tomljson
run: |
go install github.com/pelletier/go-toml/cmd/tomljson@latest
echo "$HOME/go/bin" >> $GITHUB_PATH
- run: ci/test_all_features.sh
env:
GOBIN: "$HOME/go/bin"
PATH: "$PATH:$GOBIN"



Expand Down Expand Up @@ -160,7 +159,7 @@ jobs:
#############

release-github:
name: release on GitHub
name: release (GitHub)
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
needs:
- clippy
Expand Down
2 changes: 1 addition & 1 deletion ci/test_all_features.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euxo pipefail

for feature in $(tomljson Cargo.toml | jq --raw-output '.features | keys[]' | grep -v 'default\|testing-helpers'); do
Expand Down

0 comments on commit 8277526

Please sign in to comment.