Skip to content

Commit

Permalink
ci: update go version
Browse files Browse the repository at this point in the history
Go 1.17.x will be removed and 1.20.x set as default in the GitHub action
virtual environment on April 3, 2023.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
  • Loading branch information
rst0git committed Apr 4, 2023
1 parent 6360361 commit 170a65a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [1.17.x, 1.18.x, 1.19.x]
go-version: [1.18.x, 1.19.x, 1.20.x]
criu_branch: [master, criu-dev]

steps:
Expand All @@ -24,7 +24,7 @@ jobs:
sudo make -C criu install-criu PREFIX=/usr
- name: install go ${{ matrix.go-version }}
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}

Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
sudo make -C test crit-test
- name: Check code coverage
if: matrix.go-version == '1.19.x' && matrix.criu_branch == 'criu-dev'
if: matrix.go-version == '1.20.x' && matrix.criu_branch == 'criu-dev'
run: |
# Run actual test as root as it uses CRIU.
sudo env "PATH=$PATH" make coverage
Expand Down

0 comments on commit 170a65a

Please sign in to comment.