Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04, windows-2022, macos-14]
go: [ '1.22', '1.23' ]
os: [ubuntu-latest, windows-2022, macos-14]
go: [ '1.23', '1.24' ]
exclude:
# Only latest Go version for Windows and MacOS.
- os: windows-2022
go: '1.22'
go: '1.23'
- os: macos-14
go: '1.22'
# Exclude latest Go version for Ubuntu as Coverage uses it.
- os: ubuntu-24.04
go: '1.23'
# Exclude latest Go version for Ubuntu as Coverage uses it.
- os: ubuntu-latest
go: '1.24'
fail-fast: false
steps:
- name: Setup go
Expand All @@ -45,7 +45,7 @@ jobs:

cover:
name: Coverage
runs-on: ubuntu-24.04
runs-on: ubuntu-latest

env:
CGO_ENABLED: 1
Expand All @@ -58,7 +58,7 @@ jobs:
uses: actions/setup-go@v5
with:
cache: true
go-version: 1.23
go-version: 1.24

- name: Test and write coverage profile
run: go test -coverprofile=coverage.txt -covermode=atomic ./...
Expand Down Expand Up @@ -90,12 +90,12 @@ jobs:
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
Loading