Bump to go1.22 (#413)

This commit is contained in:
Itxaka
2024-07-11 12:16:29 +02:00
committed by GitHub
parent 8cd7de24cd
commit 3a8a7f7240
5 changed files with 29 additions and 58 deletions

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 and actions
contents: read
actions: read
jobs:
scan-pr:

View File

@@ -9,8 +9,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", "1.20", "1.21"]
go-version: ["1.22"]
runs-on: ubuntu-latest
steps:
- name: Checkout code