diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 16ce263..20df7ea 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -15,7 +15,7 @@ env: jobs: test_cover: name: Coverage - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest env: CGO_ENABLED: 0 @@ -27,7 +27,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.23 + go-version: 1.24 - name: Write coverage profile run: go test -v ./... -coverprofile=./coverage.txt -covermode=atomic @@ -44,17 +44,17 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - go_versions: [ '1.22', '1.23' ] - os: [ubuntu-22.04, windows-2022, macos-14] + go_versions: [ '1.23', '1.24' ] + os: [ubuntu-latest, windows-2022, macos-14] exclude: # Only latest Go version for Windows and MacOS. - os: windows-2022 - go_versions: '1.22' + go_versions: '1.23' - os: macos-14 - go_versions: '1.22' - # Exclude latest Go version for Ubuntu as Coverage uses it. - - os: ubuntu-20.04 go_versions: '1.23' + # Exclude latest Go version for Ubuntu as Coverage uses it. + - os: ubuntu-latest + go_versions: '1.24' fail-fast: false steps: - uses: actions/checkout@v4 @@ -91,7 +91,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -102,7 +102,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 # â„šī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -116,4 +116,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3