File tree 3 files changed +15
-15
lines changed
3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -12,16 +12,16 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
15
- - name : Set up Go 1.x
16
- uses : actions/setup-go@v2
15
+ - name : Check out code into the Go module directory
16
+ uses : actions/checkout@v4
17
+
18
+ - name : Set up Go
19
+ uses : actions/setup-go@v5
17
20
with :
18
21
# Run on the latest minor release of Go 1.22:
19
22
go-version : ^1.22
20
23
id : go
21
24
22
- - name : Check out code into the Go module directory
23
- uses : actions/checkout@v2
24
-
25
25
- name : Ensure all files were formatted as per gofmt
26
26
run : |
27
27
[ "$(gofmt -l $(find . -name '*.go') 2>&1)" = "" ]
Original file line number Diff line number Diff line change @@ -11,16 +11,16 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
14
- - name : Set up Go 1.x
15
- uses : actions/setup-go@v2
14
+ - name : Check out code into the Go module directory
15
+ uses : actions/checkout@v4
16
+
17
+ - name : Set up Go
18
+ uses : actions/setup-go@v5
16
19
with :
17
20
# Run on the latest minor release of Go 1.22:
18
21
go-version : ^1.22
19
22
id : go
20
23
21
- - name : Check out code into the Go module directory
22
- uses : actions/checkout@v2
23
-
24
24
- name : Ensure all files were formatted as per gofmt
25
25
run : |
26
26
[ "$(gofmt -l $(find . -name '*.go') 2>&1)" = "" ]
Original file line number Diff line number Diff line change @@ -11,16 +11,16 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
14
- - name : Set up Go 1.x
15
- uses : actions/setup-go@v2
14
+ - name : Check out code into the Go module directory
15
+ uses : actions/checkout@v4
16
+
17
+ - name : Set up Go
18
+ uses : actions/setup-go@v5
16
19
with :
17
20
# Run on the latest minor release of Go 1.22:
18
21
go-version : ^1.22
19
22
id : go
20
23
21
- - name : Check out code into the Go module directory
22
- uses : actions/checkout@v2
23
-
24
24
- name : Ensure all files were formatted as per gofmt
25
25
run : |
26
26
[ "$(gofmt -l $(find . -name '*.go') 2>&1)" = "" ]
You can’t perform that action at this time.
0 commit comments