Skip to content

Commit 5289d6e

Browse files
committed
Use recommended runs-on labels
1 parent 19b951a commit 5289d6e

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/cli.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
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 }}
@@ -25,9 +25,9 @@ jobs:
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
@@ -76,7 +76,7 @@ jobs:
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:

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313
jobs:
1414
golangci:
1515
name: lint
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-24.04
1717
steps:
1818
- uses: actions/checkout@v4
1919
- uses: actions/setup-go@v5

0 commit comments

Comments
 (0)