Skip to content

Commit

Permalink
golangci supports only up to go1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
jbsv committed Feb 8, 2025
1 parent f7d8c66 commit c6eceba
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Set up Go 1.23
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: "1.23"
go-version: "1.22"

- name: Lint
run: make lint
4 changes: 2 additions & 2 deletions .github/workflows/go_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Set up Go 1.23
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: "1.23"
go-version: "1.22"

- name: Test without coverage
env:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ generate: tidy
go generate ./...

lint: tidy
@go get github.com/golangci/golangci-lint/cmd/golangci-lint
@go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
golangci-lint run

tests:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module go.dedis.ch/dela

go 1.23.6
go 1.22.0

require (
github.com/libp2p/go-libp2p v0.37.2
Expand Down

0 comments on commit c6eceba

Please sign in to comment.