Skip to content

Commit

Permalink
Update Github CI versions
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobGray committed Jun 25, 2024
1 parent 5cd8d8a commit e104a9a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/check-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ jobs:
if: ${{ contains(fromJSON('["ubuntu-latest"]'), matrix.platform) }}
run: sudo apt-get install pass
- name: Setup Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.18
go-version: 1.22
- name: Setup dependency cache
uses: actions/cache@v3
with:
Expand All @@ -61,7 +61,7 @@ jobs:
- name: Ensure dependencies are downloaded
run: go mod download
- name: Setup Ginkgo
run: go install github.com/onsi/ginkgo/v2/ginkgo@v2.9
run: go install github.com/onsi/ginkgo/v2/ginkgo@v2.19
- name: Run the tests
run: make tests

Expand All @@ -72,9 +72,9 @@ jobs:
- name: Checkout the source
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.18
go-version: 1.22
- name: Setup dependency cache
uses: actions/cache@v3
with:
Expand All @@ -87,6 +87,6 @@ jobs:
- name: Ensure dependencies are downloaded
run: go mod download
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v6
with:
version: v1.52
version: v1.59
8 changes: 4 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ issues:
linters:
disable-all: true
enable:
- gas
- gosec
- goconst
- gofmt
- govet
- ineffassign
- lll
- megacheck
- gosimple
- staticcheck
- unused
- misspell
- staticcheck
- unconvert
- unused
linters-settings:
staticcheck:
go: "1.18"
goconst:
min-len: 4 # ignore "gcp" and "aws"
2 changes: 1 addition & 1 deletion .golangciversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.52
1.59.1

0 comments on commit e104a9a

Please sign in to comment.