Bump to go1.22 (#70)

This commit is contained in:
Itxaka
2024-07-11 17:51:49 +02:00
committed by GitHub
parent dd187adf3a
commit a2b28af7b2
12 changed files with 60 additions and 60 deletions

View File

@@ -23,8 +23,6 @@ jobs:
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ^1.20
- name: Login to DockerHub
uses: docker/login-action@v1
with:
@@ -77,7 +75,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ^1.20
go-version-file: go.mod
- name: Login to DockerHub
uses: docker/login-action@v1
with:
@@ -105,9 +103,12 @@ jobs:
openssl curl gettext ca-certificates curl gnupg lsb-release
export ISO=$PWD/$(ls *.iso)
# update controllers
make test
# Generate controller image
make docker-build
# We run with sudo to be able to access /dev/kvm
./scripts/e2e-tests.sh
sudo -E ./scripts/e2e-tests.sh
- uses: actions/upload-artifact@v3
if: failure()
with:

View File

@@ -24,8 +24,6 @@ jobs:
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ^1.20
- name: Install earthly
uses: Luet-lab/luet-install-action@v1
with:

View File

@@ -10,8 +10,9 @@ on:
permissions:
# Require writing security events to upload SARIF file to security tab
security-events: write
# Only need to read contents
# Only need to read contents adn actions
contents: read
actions: read
jobs:
scan-pr:

View File

@@ -13,8 +13,7 @@ jobs:
unit-tests:
strategy:
matrix:
# Match this version to the maintained FIPS version in packages at https://github.com/kairos-io/packages/blob/main/packages/toolchain-go/collection.yaml#L63
go-version: ["1.19.10-bookworm", "1.20-bookworm", "1.21-bookworm"]
go-version: ["1.22-bookworm"]
runs-on: ubuntu-latest
steps:
- name: Checkout code