Skip to content

Commit d9a0c74

Browse files
committed
ci: probe go visibility inside codspeed action wrapper
1 parent 94ca2ee commit d9a0c74

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -83,19 +83,14 @@ jobs:
8383
- uses: ./.github/actions/rust-install
8484
- run: cargo build --release
8585

86-
- name: Probe go resolution with brew bin prepended
87-
run: |
88-
export PATH="/opt/homebrew/bin:$PATH"
89-
echo "PATH=$PATH"
90-
which -a go
91-
go env GOROOT || echo "go env GOROOT failed with exit $?"
92-
9386
- name: Run the benchmarks
9487
uses: CodSpeedHQ/action@main
95-
env:
96-
PATH: /opt/homebrew/bin:${{ env.PATH }}
9788
with:
98-
run: cargo r --release --manifest-path ../go-runner/Cargo.toml -- test -bench=BenchmarkFibonacciDarwin example -benchtime=500ms
89+
run: |
90+
echo "PATH=$PATH"
91+
which -a go
92+
go env GOROOT || echo "go env GOROOT exited $?"
93+
cargo r --release --manifest-path ../go-runner/Cargo.toml -- test -bench=BenchmarkFibonacciDarwin example -benchtime=500ms
9994
working-directory: example
10095
mode: walltime
10196

0 commit comments

Comments
 (0)