Skip to content

Commit

Permalink
Fix all go version in the tests on 1.19
Browse files Browse the repository at this point in the history
There is a regression error in go 1.22.
As the go.mod fixes the go version at 1.19, all github workflow now
use go 1.19.
  • Loading branch information
ineiti committed Feb 15, 2024
1 parent aca09c9 commit 8a4a152
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 22 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/go_dvoting_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
name: Scenario
runs-on: ubuntu-latest
steps:
- name: Set up Go ^1.17
uses: actions/setup-go@v2
- name: Set up Go ^1.19
uses: actions/setup-go@v3
with:
go-version: ^1.17
go-version: ^1.19

- name: Install crypto util from Dela
run: |
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/go_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
name: Integration test
runs-on: ubuntu-latest
steps:
- name: Set up Go ^1.17
uses: actions/setup-go@v2
- name: Set up Go ^1.19
uses: actions/setup-go@v3
with:
go-version: ^1.17
go-version: ^1.19

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand All @@ -25,10 +25,10 @@ jobs:
name: Test bad vote
runs-on: ubuntu-latest
steps:
- name: Set up Go ^1.17
uses: actions/setup-go@v2
- name: Set up Go ^1.19
uses: actions/setup-go@v3
with:
go-version: ^1.17
go-version: ^1.19

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand All @@ -39,10 +39,10 @@ jobs:
name: Test crash
runs-on: ubuntu-latest
steps:
- name: Set up Go ^1.17
uses: actions/setup-go@v2
- name: Set up Go ^1.19
uses: actions/setup-go@v3
with:
go-version: ^1.17
go-version: ^1.19

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand All @@ -53,10 +53,10 @@ jobs:
name: Test revote
runs-on: ubuntu-latest
steps:
- name: Set up Go ^1.17
uses: actions/setup-go@v2
- name: Set up Go ^1.19
uses: actions/setup-go@v3
with:
go-version: ^1.17
go-version: ^1.19

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/go_scenario_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Set up Go ^1.17
uses: actions/setup-go@v2
- name: Set up Go ^1.19
uses: actions/setup-go@v3
with:
go-version: ^1.17
go-version: ^1.19

- name: Install crypto util from Dela
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/go_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Use Go >= 1.19
- name: Use Go ^1.19
uses: actions/setup-go@v3
with:
go-version: '>=1.19'
go-version: ^1.19
id: go

- name: Check out code into the Go module directory
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
- name: checkout
uses: actions/checkout@v3

- name: Use go
- name: Use go version ^1.19
uses: actions/setup-go@v3
with:
go-version: '>=1.18'
go-version: ^1.19

- name: Install fpm
run: |
Expand Down

0 comments on commit 8a4a152

Please sign in to comment.