File tree Expand file tree Collapse file tree 14 files changed +47
-56
lines changed Expand file tree Collapse file tree 14 files changed +47
-56
lines changed Original file line number Diff line number Diff line change @@ -19,16 +19,15 @@ jobs:
19
19
if : " !contains(github.event.head_commit.message, '[ci skip]')"
20
20
21
21
steps :
22
+ - name : Check out code into the Go module directory
23
+ uses : actions/checkout@v3
22
24
23
25
- name : Set up Go
24
26
uses : actions/setup-go@v3
25
27
with :
26
- go-version : 1.19
28
+ go-version-file : go.mod
27
29
id : go
28
30
29
- - name : Check out code into the Go module directory
30
- uses : actions/checkout@v3
31
-
32
31
- name : macOS build cmd
33
32
env :
34
33
GOOS : darwin
Original file line number Diff line number Diff line change @@ -19,16 +19,15 @@ jobs:
19
19
if : " !contains(github.event.head_commit.message, '[ci skip]')"
20
20
21
21
steps :
22
+ - name : Check out code into the Go module directory
23
+ uses : actions/checkout@v3
22
24
23
25
- name : Set up Go
24
26
uses : actions/setup-go@v3
25
27
with :
26
- go-version : 1.19
28
+ go-version-file : go.mod
27
29
id : go
28
30
29
- - name : Check out code into the Go module directory
30
- uses : actions/checkout@v3
31
-
32
31
- name : FreeBSD build cmd
33
32
env :
34
33
GOOS : freebsd
Original file line number Diff line number Diff line change @@ -19,16 +19,15 @@ jobs:
19
19
if : " !contains(github.event.head_commit.message, '[ci skip]')"
20
20
21
21
steps :
22
+ - name : Check out code into the Go module directory
23
+ uses : actions/checkout@v3
22
24
23
25
- name : Set up Go
24
26
uses : actions/setup-go@v3
25
27
with :
26
- go-version : 1.19
28
+ go-version-file : go.mod
27
29
id : go
28
30
29
- - name : Check out code into the Go module directory
30
- uses : actions/checkout@v3
31
-
32
31
- name : OpenBSD build cmd
33
32
env :
34
33
GOOS : openbsd
Original file line number Diff line number Diff line change @@ -19,16 +19,15 @@ jobs:
19
19
if : " !contains(github.event.head_commit.message, '[ci skip]')"
20
20
21
21
steps :
22
+ - name : Check out code into the Go module directory
23
+ uses : actions/checkout@v3
22
24
23
25
- name : Set up Go
24
26
uses : actions/setup-go@v3
25
27
with :
26
- go-version : 1.19
28
+ go-version-file : go.mod
27
29
id : go
28
30
29
- - name : Check out code into the Go module directory
30
- uses : actions/checkout@v3
31
-
32
31
- name : Wasm client build
33
32
env :
34
33
GOOS : js
Original file line number Diff line number Diff line change @@ -19,16 +19,15 @@ jobs:
19
19
if : " !contains(github.event.head_commit.message, '[ci skip]')"
20
20
21
21
steps :
22
+ - name : Check out code into the Go module directory
23
+ uses : actions/checkout@v3
22
24
23
25
- name : Set up Go
24
26
uses : actions/setup-go@v3
25
27
with :
26
- go-version : 1.19
28
+ go-version-file : go.mod
27
29
id : go
28
30
29
- - name : Check out code into the Go module directory
30
- uses : actions/checkout@v3
31
-
32
31
- name : Windows build cmd
33
32
env :
34
33
GOOS : windows
Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ jobs:
17
17
runs-on : ubuntu-latest
18
18
19
19
steps :
20
+ - name : Check out code
21
+ uses : actions/checkout@v3
22
+
20
23
- name : Set up Go
21
24
uses : actions/setup-go@v3
22
25
with :
23
- go-version : 1.19
24
-
25
- - name : Check out code
26
- uses : actions/checkout@v3
26
+ go-version-file : go.mod
27
27
28
28
- name : depaware
29
29
run : go run github.com/tailscale/depaware --check
Original file line number Diff line number Diff line change @@ -18,16 +18,16 @@ jobs:
18
18
runs-on : ubuntu-latest
19
19
20
20
steps :
21
- - name : Set up Go
22
- uses : actions/setup-go@v3
23
- with :
24
- go-version : 1.19
25
-
26
21
- name : Check out code
27
22
uses : actions/checkout@v3
28
23
with :
29
24
fetch-depth : 0
30
25
26
+ - name : Set up Go
27
+ uses : actions/setup-go@v3
28
+ with :
29
+ go-version-file : go.mod
30
+
31
31
- name : check 'go generate' is clean
32
32
run : |
33
33
if [[ "${{github.ref}}" == release-branch/* ]]
Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ jobs:
17
17
runs-on : ubuntu-latest
18
18
19
19
steps :
20
+ - name : Check out code
21
+ uses : actions/checkout@v3
22
+
20
23
- name : Set up Go
21
24
uses : actions/setup-go@v3
22
25
with :
23
- go-version : 1.19
24
-
25
- - name : Check out code
26
- uses : actions/checkout@v3
26
+ go-version-file : go.mod
27
27
28
28
- name : Run license checker
29
29
run : ./scripts/check_license_headers.sh .
Original file line number Diff line number Diff line change @@ -19,16 +19,15 @@ jobs:
19
19
if : " !contains(github.event.head_commit.message, '[ci skip]')"
20
20
21
21
steps :
22
+ - name : Check out code into the Go module directory
23
+ uses : actions/checkout@v3
22
24
23
25
- name : Set up Go
24
26
uses : actions/setup-go@v3
25
27
with :
26
- go-version : 1.19
28
+ go-version-file : go.mod
27
29
id : go
28
30
29
- - name : Check out code into the Go module directory
30
- uses : actions/checkout@v3
31
-
32
31
- name : Basic build
33
32
run : go build ./cmd/...
34
33
Original file line number Diff line number Diff line change @@ -19,16 +19,15 @@ jobs:
19
19
if : " !contains(github.event.head_commit.message, '[ci skip]')"
20
20
21
21
steps :
22
+ - name : Check out code into the Go module directory
23
+ uses : actions/checkout@v3
22
24
23
25
- name : Set up Go
24
26
uses : actions/setup-go@v3
25
27
with :
26
- go-version : 1.19
28
+ go-version-file : go.mod
27
29
id : go
28
30
29
- - name : Check out code into the Go module directory
30
- uses : actions/checkout@v3
31
-
32
31
- name : Basic build
33
32
run : go build ./cmd/...
34
33
You can’t perform that action at this time.
0 commit comments