Skip to content

Commit

Permalink
Setup go version to 1.22 fix cve (#1587)
Browse files Browse the repository at this point in the history
  • Loading branch information
shibd authored Sep 10, 2024
1 parent 45d24b3 commit eceaf14
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-bookie-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
bookie-ut-tests:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21
- name: Set up Go 1.22
uses: actions/setup-go@v1
with:
go-version: 1.21
go-version: 1.22
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci-functions-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
steps:
- name: Login SN docker hub
run: docker login -u="${{ secrets.DOCKER_USER }}" -p="${{ secrets.DOCKER_PASSWORD}}"
- name: Set up Go 1.21
- name: Set up Go 1.22
uses: actions/setup-go@v1
with:
go-version: 1.21
go-version: 1.22
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand All @@ -30,10 +30,10 @@ jobs:
steps:
- name: Login SN docker hub
run: docker login -u="${{ secrets.DOCKER_USER }}" -p="${{ secrets.DOCKER_PASSWORD}}"
- name: Set up Go 1.21
- name: Set up Go 1.22
uses: actions/setup-go@v1
with:
go-version: 1.21
go-version: 1.22
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand All @@ -44,10 +44,10 @@ jobs:
steps:
- name: Login SN docker hub
run: docker login -u="${{ secrets.DOCKER_USER }}" -p="${{ secrets.DOCKER_PASSWORD}}"
- name: Set up Go 1.21
- name: Set up Go 1.22
uses: actions/setup-go@v1
with:
go-version: 1.21
go-version: 1.22
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-packages-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
steps:
- name: Login SN docker hub
run: docker login -u="${{ secrets.DOCKER_USER }}" -p="${{ secrets.DOCKER_PASSWORD}}"
- name: Set up Go 1.21
- name: Set up Go 1.22
uses: actions/setup-go@v1
with:
go-version: 1.21
go-version: 1.22
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-style-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
style-check:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21
- name: Set up Go 1.22
uses: actions/setup-go@v1
with:
go-version: 1.21
go-version: 1.22
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
scan-vulnerabilities:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21
- name: Set up Go 1.22
uses: actions/setup-go@v1
with:
go-version: 1.21
go-version: 1.22
id: go

- name: Check out code into the Go module directory
Expand Down

0 comments on commit eceaf14

Please sign in to comment.