Skip to content

Commit

Permalink
chore: update go to 1.22.0 and toolchain to go1.22.10
Browse files Browse the repository at this point in the history
* update go to 1.22.0 and toolchain to go1.22.10
* update staticcheck to 1.3.1 latest version

Signed-off-by: Hongwei Liu <hongliu@redhat.com>
  • Loading branch information
hongweiliu17 authored and dirgim committed Jan 17, 2025
1 parent 49f0778 commit d67203f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: "1.22"
go-version: "1.22.0"
- name: Run tests
run: make test
- name: Codecov
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: "1.22"
go-version: "1.22.0"
- name: Check out code into the Go module directory
uses: actions/checkout@v4
with:
Expand All @@ -41,7 +41,7 @@ jobs:
only-new-issues: true
- uses: dominikh/staticcheck-action@v1.3.1
with:
version: "2023.1.3"
version: "latest"
install-go: false
skip-cache: true
go:
Expand All @@ -53,7 +53,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: "1.22"
go-version: "1.22.0"
- name: Check out code into the Go module directory
uses: actions/checkout@v4
with:
Expand Down
5 changes: 3 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
module github.com/konflux-ci/integration-service

go 1.22
toolchain go1.22.5
go 1.22.0

toolchain go1.22.10

require (
github.com/agiledragon/gomonkey/v2 v2.12.0
Expand Down

0 comments on commit d67203f

Please sign in to comment.