Skip to content

Commit

Permalink
SYSENG-1820: update to go 1.22
Browse files Browse the repository at this point in the history
GitHub actions do not support anchors (yet) actions/runner#1182, back to repeating versions :(
  • Loading branch information
DrPsychick committed Dec 18, 2024
1 parent 85537c1 commit 08b7eb1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 19 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,16 @@ on:
- "CHANGELOG.md"
- ".github/workflows/**"

env:
GO_CURRENT: 1.22
GO_LATEST: 1.23

jobs:
static-checks:
runs-on: ubuntu-latest
strategy:
matrix:
go:
- version: "${{ env.GO_CURRENT }}"
name: target
- version: "${{ env.GO_LATEST }}"
name: latest
- version: "1.22"
name: "target"
- version: "1.23"
name: "latest"
name: "Static checks with ${{ matrix.go.name }} Go"
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -59,10 +55,10 @@ jobs:
strategy:
matrix:
go:
- version: "${{ env.GO_CURRENT }}"
name: target
- version: "${{ env.GO_LATEST }}"
name: latest
- version: "1.22"
name: "target"
- version: "1.23"
name: "latest"
name: "Unit tests with ${{ matrix.go.name }} Go"
steps:
- uses: actions/checkout@v4
Expand All @@ -89,7 +85,7 @@ jobs:
strategy:
matrix:
go:
- version: "${{ env.GO_CURRENT }}"
- version: "1.22"
name: target
name: "Integration tests with ${{ matrix.go.name }} Go (trusted)"
steps:
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:
- main

env:
GO_CURRENT: "1.22"
GO_LATEST: "1.23"
GO111MODULE: on

jobs:
Expand All @@ -27,10 +25,10 @@ jobs:
strategy:
matrix:
go:
- version: "${{ env.GO_CURRENT }}"
name: target
- version: "${{ env.GO_LATEST }}"
name: latest
- version: "1.22"
name: "target"
- version: "1.23"
name: "latest"
name: "Spell check with ${{ matrix.go.name }} Go"
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 08b7eb1

Please sign in to comment.