diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 31de0895fd..6b52a12889 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,7 +15,7 @@ permissions: jobs: golangci-lint: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Clone repository diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 8d2d97586e..cd020bc37b 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -13,7 +13,7 @@ permissions: jobs: test-docs: name: test-docs - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 @@ -44,7 +44,7 @@ jobs: if: startswith(github.ref, 'refs/tags/') name: publish needs: [test-docs] - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 93d2b9abf5..c69bb32a7d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: test: strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-24.04, macos-15, windows-2025] go: [stable, oldstable] name: ${{ matrix.os }} @ Go ${{ matrix.go }} @@ -34,25 +34,25 @@ jobs: - name: Set PATH run: echo "${GITHUB_WORKSPACE}/.local/bin" >>"${GITHUB_PATH}" - - if: matrix.go == 'stable' && matrix.os == 'ubuntu-latest' + - if: matrix.go == 'stable' && matrix.os == 'ubuntu-24.04' run: make ensure-goimports - - if: matrix.go == 'stable' && matrix.os == 'ubuntu-latest' + - if: matrix.go == 'stable' && matrix.os == 'ubuntu-24.04' run: make lint - run: make vet - run: make test - run: make check-binary-size - - if: matrix.go == 'stable' && matrix.os == 'ubuntu-latest' + - if: matrix.go == 'stable' && matrix.os == 'ubuntu-24.04' run: make generate - run: make diffcheck - - if: matrix.go == 'stable' && matrix.os == 'ubuntu-latest' + - if: matrix.go == 'stable' && matrix.os == 'ubuntu-24.04' run: make v3diff - - if: success() && matrix.go == 'stable' && matrix.os == 'ubuntu-latest' + - if: success() && matrix.go == 'stable' && matrix.os == 'ubuntu-24.04' uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }}