Skip to content

Commit

Permalink
use 1.20 in CI and make vulnerabily-bot happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonboom committed Sep 7, 2023
1 parent ac77044 commit dcf01f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ jobs:
go_install:
runs-on: ubuntu-latest
steps:
- uses: rlespinasse/github-slug-action@v4
- uses: rlespinasse/github-slug-action@v4.4.1
- uses: actions/setup-go@v4
with:
go-version: ^1.21
go-version: ^1.20
- run: cd /tmp && go install github.com/Antonboom/testifylint@${{ env.GITHUB_REF_NAME }} && testifylint -h

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version: '1.20'
- uses: actions/checkout@v3
- uses: golangci/golangci-lint-action@v3
with:
Expand All @@ -33,7 +33,7 @@ jobs:
steps:
- uses: actions/setup-go@v4
with:
go-version: ^1.21
go-version: ^1.20
- uses: actions/checkout@v3
- run: go test -coverpkg=./analyzer,./internal/analysisutil,./internal/checkers,./internal/config -coverprofile=coverage.out ./...
- uses: shogo82148/actions-goveralls@v1
Expand Down
2 changes: 1 addition & 1 deletion analyzer/testdata/src/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module testdata

go 1.21
go 1.20

require (
github.com/ghetzel/testify v1.4.1
Expand Down

0 comments on commit dcf01f3

Please sign in to comment.