Skip to content

Commit 4cdb89f

Browse files
committed
Update GitHub actions
1 parent fd40d26 commit 4cdb89f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/codeql-v7.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
codeql:
1515
strategy:
1616
matrix:
17-
go: [1.16.x, 1.17.x]
17+
go: [stable]
1818
os: [ubuntu-latest]
1919
name: Run ${{ matrix.go }} on ${{ matrix.os }}
2020
runs-on: ${{ matrix.os }}
@@ -25,16 +25,16 @@ jobs:
2525
sudo sysctl -w vm.max_map_count=262144
2626
2727
- name: Setup Go ${{ matrix.go }}
28-
uses: actions/setup-go@v2
28+
uses: actions/setup-go@v5
2929
with:
3030
go-version: ${{ matrix.go }}
3131

3232
- name: Checkout repository
33-
uses: actions/checkout@v2
33+
uses: actions/checkout@v4
3434
with:
3535
fetch-depth: 2
3636

37-
- uses: actions/cache@v2
37+
- uses: actions/cache@v4
3838
with:
3939
path: |
4040
~/.cache/go-build

.github/workflows/test-v7.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
test:
1111
strategy:
1212
matrix:
13-
go: [1.17.x, 1.18.x]
13+
go: [stable]
1414
os: [ubuntu-latest]
1515
name: Run ${{ matrix.go }} on ${{ matrix.os }}
1616
runs-on: ${{ matrix.os }}
@@ -21,14 +21,14 @@ jobs:
2121
sudo sysctl -w vm.max_map_count=262144
2222
2323
- name: Setup Go ${{ matrix.go }}
24-
uses: actions/setup-go@v2
24+
uses: actions/setup-go@v5
2525
with:
2626
go-version: ${{ matrix.go }}
2727

2828
- name: Checkout code
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@v4
3030

31-
- uses: actions/cache@v2
31+
- uses: actions/cache@v4
3232
with:
3333
path: |
3434
~/.cache/go-build

0 commit comments

Comments
 (0)