...
1name: lint
2
3on:
4 pull_request:
5 branches_ignore: []
6
7jobs:
8 lint:
9 runs-on: ubuntu-latest
10 strategy:
11 matrix:
12 go: ['1.20']
13
14 name: Linting
15 steps:
16
17 - uses: actions/checkout@v2
18 with:
19 path: go/src/github.com/vbatts/tar-split
20
21 - uses: actions/setup-go@v4
22 with:
23 go-version: ${{ matrix.go }}
24
25 - name: lint
26 env:
27 GOPATH: /home/runner/work/tar-split/tar-split/go
28 run: |
29 set -x
30 export PATH=$GOPATH/bin:$PATH
31 cd go/src/github.com/vbatts/tar-split
32 go run mage.go -v lint
View as plain text