diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 6bf969e..12407b3 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 @@ -45,7 +45,7 @@ jobs: cover: name: Coverage - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest env: CGO_ENABLED: 1 @@ -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 ./... @@ -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