Skip to content

Commit dbe3417

Browse files
authored
Merge branch 'v2-maint' into issue_1797
2 parents 33a1b5c + ca5c42f commit dbe3417

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

Diff for: .github/workflows/cli.yml

+13-13
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@ jobs:
1515
strategy:
1616
matrix:
1717
os: [ubuntu-latest, macos-latest, windows-latest]
18-
go: [1.19.x, 1.20.x]
18+
go: [stable, oldstable]
1919
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
2020
runs-on: ${{ matrix.os }}
2121
steps:
22-
- uses: actions/setup-go@v3
22+
- uses: actions/checkout@v4
23+
- uses: actions/setup-go@v4
2324
with:
2425
go-version: ${{ matrix.go }}
2526
- name: Set PATH
2627
run: echo "${GITHUB_WORKSPACE}/.local/bin" >>"${GITHUB_PATH}"
27-
- uses: actions/checkout@v3
28-
- if: matrix.go == '1.20.x' && matrix.os == 'ubuntu-latest'
28+
- if: matrix.go == 'stable' && matrix.os == 'ubuntu-latest'
2929
run: make ensure-goimports
30-
- if: matrix.go == '1.20.x' && matrix.os == 'ubuntu-latest'
30+
- if: matrix.go == 'stable' && matrix.os == 'ubuntu-latest'
3131
run: make lint
3232
- run: make vet
3333
- run: make test
@@ -40,12 +40,12 @@ jobs:
4040
GFLAGS: -tags urfave_cli_no_docs
4141
- run: make check-binary-size
4242
- run: make yamlfmt
43-
- if: matrix.go == '1.20.x' && matrix.os == 'ubuntu-latest'
43+
- if: matrix.go == 'stable' && matrix.os == 'ubuntu-latest'
4444
run: make generate
4545
- run: make diffcheck
46-
- if: matrix.go == '1.20.x' && matrix.os == 'ubuntu-latest'
46+
- if: matrix.go == 'stable' && matrix.os == 'ubuntu-latest'
4747
run: make v2diff
48-
- if: success() && matrix.go == '1.20.x' && matrix.os == 'ubuntu-latest'
48+
- if: success() && matrix.go == 'stable' && matrix.os == 'ubuntu-latest'
4949
uses: codecov/codecov-action@v3
5050
with:
5151
token: ${{ secrets.CODECOV_TOKEN }}
@@ -54,15 +54,15 @@ jobs:
5454
name: test-docs
5555
runs-on: ubuntu-latest
5656
steps:
57-
- uses: actions/setup-go@v3
57+
- uses: actions/checkout@v4
58+
- uses: actions/setup-go@v4
5859
with:
59-
go-version: 1.20.x
60-
- uses: actions/setup-node@v3
60+
go-version: stable
61+
- uses: actions/setup-node@v4
6162
with:
6263
node-version: '16'
6364
- name: Set PATH
6465
run: echo "${GITHUB_WORKSPACE}/.local/bin" >>"${GITHUB_PATH}"
65-
- uses: actions/checkout@v3
6666
- run: make ensure-gfmrun
6767
- run: make gfmrun
6868
env:
@@ -76,7 +76,7 @@ jobs:
7676
needs: [test-docs]
7777
runs-on: ubuntu-latest
7878
steps:
79-
- uses: actions/checkout@v3
79+
- uses: actions/checkout@v4
8080
with:
8181
fetch-depth: 0
8282
- run: make ensure-mkdocs

0 commit comments

Comments
 (0)