File tree Expand file tree Collapse file tree 3 files changed +10
-13
lines changed
Expand file tree Collapse file tree 3 files changed +10
-13
lines changed Original file line number Diff line number Diff line change 44 test :
55 strategy :
66 matrix :
7- go-version : [1.19 .x, 1.20 .x]
7+ go-version : [1.24 .x, 1.25 .x]
88 runs-on : ubuntu-latest
99 steps :
1010 - name : Install Go
11- uses : actions/setup-go@v3
11+ uses : actions/setup-go@v6
1212 with :
1313 go-version : ${{ matrix.go-version }}
14- - uses : actions/checkout@v3
14+ - uses : actions/checkout@v5
1515 with :
1616 path : ' ./src/github.com/kevinburke/go-bindata'
17- - uses : actions/cache@v3
17+ - uses : actions/cache@v4
1818 with :
1919 path : /home/runner/.cache
2020 key : ${{ runner.os }}-go-v3-${{ hashFiles('**/*.go') }}
2121 restore-keys : |
2222 ${{ runner.os }}-go-v3-
2323 # staticcheck needs this for GOPATH
2424 - run : |
25- echo "GO111MODULE=off " >> $GITHUB_ENV
25+ echo "GO111MODULE=on " >> $GITHUB_ENV
2626 echo "GOPATH=$GITHUB_WORKSPACE" >> $GITHUB_ENV
2727 echo "PATH=$GITHUB_WORKSPACE/bin:$PATH" >> $GITHUB_ENV
2828 echo "DEBIAN_FRONTEND=noninteractive" >> $GITHUB_ENV
29- - name : Download dependencies
30- run : go get -t -v ./...
31- working-directory : ' ./src/github.com/kevinburke/go-bindata'
3229 - name : Run tests
3330 run : rm -f ${GOPATH}/bin/go-bindata && make ci
3431 working-directory : ' ./src/github.com/kevinburke/go-bindata'
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ bench: $(GOPATH)/bin/go-bindata | $(BENCHSTAT)
4242 go list ./... | grep -v vendor | xargs go test -benchtime=5s -bench=. -run=' ^$$' 2>&1 | $(BENCHSTAT ) /dev/stdin
4343
4444$(WRITE_MAILMAP ) :
45- go get -u github.com/kevinburke/write_mailmap
45+ go install github.com/kevinburke/write_mailmap@latest
4646
4747force : ;
4848
@@ -52,8 +52,8 @@ AUTHORS.txt: force | $(WRITE_MAILMAP)
5252authors : AUTHORS.txt
5353
5454ci-install :
55- go get github.com/kevinburke/differ
56- go get honnef.co/go/tools/cmd/staticcheck
55+ go install github.com/kevinburke/differ@latest
56+ go install honnef.co/go/tools/cmd/staticcheck@latest
5757
5858ci : ci-install lint go-race-test diff-testdata
5959
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ out/prefix.go: $(wildcard in/**/*) $(GOPATH)/bin/go-bindata
3131 GO_BINDATA_TEST=true $(GOPATH ) /bin/go-bindata --modtime=1136214245 --prefix in -o $@ in/...
3232
3333errcheck :
34- go get github.com/kisielk/errcheck
34+ go install github.com/kisielk/errcheck@latest
3535
3636golint :
37- go get golang.org/x/lint/golint
37+ go install golang.org/x/lint/golint@latest
You can’t perform that action at this time.
0 commit comments