1414 test :
1515 strategy :
1616 matrix :
17- os : [ubuntu-latest , macos-latest , windows-latest ]
17+ os : [ubuntu-24.04 , macos-15 , windows-2025 ]
1818 go : [stable, oldstable]
1919 name : ${{ matrix.os }} @ Go ${{ matrix.go }}
2020 runs-on : ${{ matrix.os }}
2525 go-version : ${{ matrix.go }}
2626 - name : Set PATH
2727 run : echo "${GITHUB_WORKSPACE}/.local/bin" >>"${GITHUB_PATH}"
28- - if : matrix.go == 'stable' && matrix.os == 'ubuntu-latest '
28+ - if : matrix.go == 'stable' && matrix.os == 'ubuntu-24.04 '
2929 run : make ensure-goimports
30- - if : matrix.go == 'stable' && matrix.os == 'ubuntu-latest '
30+ - if : matrix.go == 'stable' && matrix.os == 'ubuntu-24.04 '
3131 run : make lint
3232 - run : make vet
3333 - run : make test
@@ -40,19 +40,19 @@ jobs:
4040 GFLAGS : -tags urfave_cli_no_docs
4141 - run : make check-binary-size
4242 - run : make yamlfmt
43- - if : matrix.go == 'stable' && matrix.os == 'ubuntu-latest '
43+ - if : matrix.go == 'stable' && matrix.os == 'ubuntu-24.04 '
4444 run : make generate
4545 - run : make diffcheck
46- - if : matrix.go == 'stable' && matrix.os == 'ubuntu-latest '
46+ - if : matrix.go == 'stable' && matrix.os == 'ubuntu-24.04 '
4747 run : make v2diff
48- - if : success() && matrix.go == 'stable' && matrix.os == 'ubuntu-latest '
48+ - if : success() && matrix.go == 'stable' && matrix.os == 'ubuntu-24.04 '
4949 uses : codecov/codecov-action@v4
5050 with :
5151 token : ${{ secrets.CODECOV_TOKEN }}
5252 fail_ci_if_error : true
5353 test-docs :
5454 name : test-docs
55- runs-on : ubuntu-latest
55+ runs-on : ubuntu-24.04
5656 steps :
5757 - uses : actions/checkout@v4
5858 - uses : actions/setup-go@v5
7676 if : false
7777 name : publish
7878 needs : [test-docs]
79- runs-on : ubuntu-latest
79+ runs-on : ubuntu-24.04
8080 steps :
8181 - uses : actions/checkout@v4
8282 with :
0 commit comments