Skip to content

Commit 361fd2f

Browse files
committed
Improve CI workflow
1 parent 63c956f commit 361fd2f

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ on:
88
schedule:
99
- cron: '0 13 */15 * *'
1010

11+
env:
12+
SRC_DIR: src/github.com/${{ github.repository }}
13+
1114
jobs:
1215
Go:
1316
name: Go
1417
runs-on: ubuntu-latest
1518

16-
env:
17-
SRC_DIR: src/github.com/${{ github.repository }}
18-
1919
strategy:
2020
matrix:
2121
go: [ '1.17.x', '1.18.x' ]
@@ -45,9 +45,6 @@ jobs:
4545

4646
needs: Go
4747

48-
env:
49-
SRC_DIR: src/github.com/${{ github.repository }}
50-
5148
steps:
5249
- name: Set up Go
5350
uses: actions/setup-go@v3

0 commit comments

Comments
 (0)