File tree 2 files changed +17
-17
lines changed
2 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: build
2
2
3
3
on :
4
4
push :
5
- branches : [ main ]
5
+ branches : [main]
6
6
pull_request :
7
- branches : [ main ]
7
+ branches : [main]
8
8
9
9
jobs :
10
10
build :
@@ -14,16 +14,16 @@ jobs:
14
14
os : [ubuntu-latest, windows-latest]
15
15
runs-on : ${{ matrix.os }}
16
16
steps :
17
- - name : Set up Go 1.x
18
- uses : actions/setup-go@v3
19
- with :
20
- go-version : ^1.18
17
+ - name : Check out code
18
+ uses : actions/checkout@v4
21
19
22
- - name : Check out code
23
- uses : actions/checkout@v3
20
+ - name : Set up Go 1.x
21
+ uses : actions/setup-go@v5
22
+ with :
23
+ go-version : ^1.18
24
24
25
- - name : Build cli
26
- run : go build ./cmd/codeowners
25
+ - name : Build cli
26
+ run : go build ./cmd/codeowners
27
27
28
- - name : Test
29
- run : go test ./... -v
28
+ - name : Test
29
+ run : go test ./... -v
Original file line number Diff line number Diff line change @@ -3,30 +3,30 @@ name: release
3
3
on :
4
4
push :
5
5
tags :
6
- - ' v* '
6
+ - " v* "
7
7
8
8
jobs :
9
9
release :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- name : Checkout
13
- uses : actions/checkout@v3
13
+ uses : actions/checkout@v4
14
14
with :
15
15
fetch-depth : 0
16
16
17
17
- name : Set up Go
18
- uses : actions/setup-go@v3
18
+ uses : actions/setup-go@v5
19
19
with :
20
20
go-version : 1.18
21
21
22
22
- name : Test
23
23
run : go test ./... -v
24
24
25
25
- name : Run GoReleaser
26
- uses : goreleaser/goreleaser-action@v3
26
+ uses : goreleaser/goreleaser-action@v6
27
27
with :
28
28
version : latest
29
- args : release --rm-dist
29
+ args : release --clean
30
30
env :
31
31
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
32
HOMEBREW_TAP_RELEASE_TOKEN : ${{ secrets.HOMEBREW_TAP_RELEASE_TOKEN }}
You can’t perform that action at this time.
0 commit comments