Skip to content

Commit 75462fb

Browse files
committed
bump GitHub actions
1 parent c451f75 commit 75462fb

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/lint.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1919
- name: Lint
20-
uses: golangci/golangci-lint-action@v2
20+
uses: golangci/golangci-lint-action@v6
2121
with:
2222
# version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
2323
version: latest

.github/workflows/test.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ jobs:
99
runs-on: ${{ matrix.platform }}
1010
steps:
1111
- name: Install Go
12-
uses: actions/setup-go@v1
12+
uses: actions/setup-go@v5
1313
with:
1414
go-version: ${{ matrix.go-version }}
1515
- name: Checkout code
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v4
1717
- name: Test klog
1818
run: |
1919
go get -t -v ./...
@@ -25,20 +25,20 @@ jobs:
2525
if: github.base_ref
2626
steps:
2727
- name: Install Go
28-
uses: actions/setup-go@v1
28+
uses: actions/setup-go@v5
2929
with:
3030
go-version: 1.21
3131
- name: Add GOBIN to PATH
3232
run: echo "PATH=$(go env GOPATH)/bin:$PATH" >>$GITHUB_ENV
3333
- name: Install dependencies
3434
run: GO111MODULE=off go get golang.org/x/exp/cmd/apidiff
3535
- name: Checkout old code
36-
uses: actions/checkout@v2
36+
uses: actions/checkout@v4
3737
with:
3838
ref: ${{ github.base_ref }}
3939
path: "old"
4040
- name: Checkout new code
41-
uses: actions/checkout@v2
41+
uses: actions/checkout@v4
4242
with:
4343
path: "new"
4444
- name: APIDiff

0 commit comments

Comments
 (0)