Skip to content

Commit be9e091

Browse files
committed
Fix actions
1 parent 287f499 commit be9e091

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.github/workflows/pr.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,20 @@ jobs:
55
name: Validate
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@master
9-
- uses: actions/setup-go@v1
8+
- name: Checkout
9+
uses: actions/checkout@v5
1010
with:
11-
go-version: '1.16'
12-
- name: Install dependencies
13-
run: make deps
11+
fetch-depth: 0
12+
- name: Set up Go
13+
uses: actions/setup-go@v6
14+
with:
15+
go-version: stable
1416
- name: Unit test
1517
run: make ci-test
1618
- name: Linting
1719
run: make lint
1820
- name: Acceptance test
19-
run: make build acceptance-test
21+
run: make acceptance-test
2022
- name: Upload coverage to Codecov
2123
uses: codecov/codecov-action@v1
2224
env:

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
fetch-depth: 0
2020
-
2121
name: Set up Go
22-
uses: actions/setup-go@v5
22+
uses: actions/setup-go@v6
23+
with:
24+
go-version: stable
2325
-
2426
name: Run GoReleaser
2527
uses: goreleaser/goreleaser-action@v6

0 commit comments

Comments
 (0)