Skip to content

Commit de28377

Browse files
committed
fix: env vars
1 parent 1aa2070 commit de28377

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/tests.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
go-version: ['stable', 'oldstable']
2020
env:
2121
GOEXPERIMENT: cgocheck2
22+
PKG_CONFIG_PATH: ${{ github.workspace }}/fswatch/target/lib/pkgconfig
23+
LD_LIBRARY_PATH: ${{ github.workspace }}/fswatch/target/lib
24+
DYLD_LIBRARY_PATH: ${{ github.workspace }}/fswatch/target/lib
2225
name: Go (${{ matrix.os }}, Go ${{ matrix.go-version }})
2326
steps:
2427
-
@@ -54,10 +57,6 @@ jobs:
5457
make install
5558
-
5659
name: Run tests
57-
env:
58-
PKG_CONFIG_PATH: ${{ github.workspace }}/fswatch/target/lib/pkgconfig
59-
LD_LIBRARY_PATH: ${{ github.workspace }}/fswatch/target/lib
60-
DYLD_LIBRARY_PATH: ${{ github.workspace }}/fswatch/target/lib
6160
run: go test -race
6261
-
6362
name: Lint

0 commit comments

Comments
 (0)