Skip to content

Commit 91b150f

Browse files
committed
updated workflow
1 parent 86b2fcf commit 91b150f

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/go.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Set up Go
17-
uses: actions/setup-go@v2
17+
uses: actions/setup-go@v5
1818
with:
1919
go-version: ${{ matrix.go-version }}
2020

2121
- name: Cache go modules
22-
uses: actions/cache@v1
22+
uses: actions/cache@v4
2323
with:
2424
path: ~/go/pkg/mod
2525
key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }}
2626
restore-keys: ${{ runner.os }}-go-${{ hashFiles('go.sum') }}
2727

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

3131
- name: Get and verify dependencies
3232
run: go mod download && go mod verify

.github/workflows/linter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jobs:
77
name: lint
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
1111
- name: golangci-lint
12-
uses: golangci/golangci-lint-action@v2
12+
uses: golangci/golangci-lint-action@v6
1313
with:
1414
version: latest
1515
only-new-issues: true

0 commit comments

Comments
 (0)