File tree 4 files changed +47
-45
lines changed 4 files changed +47
-45
lines changed Original file line number Diff line number Diff line change 20
20
name : releaseNewActionVersion
21
21
runs-on : ubuntu-latest
22
22
steps :
23
- - name : Update the ${{ env.TAG_NAME }} tag
24
-
25
- with :
26
- source-tag : ${{ env.TAG_NAME }}
27
- slack-webhook : ${{ secrets.SLACK_WEBHOOK }}
23
+ - name : Update the ${{ env.TAG_NAME }} tag
24
+
25
+ with :
26
+ source-tag : ${{ env.TAG_NAME }}
27
+ slack-webhook : ${{ secrets.SLACK_WEBHOOK }}
Original file line number Diff line number Diff line change @@ -63,12 +63,14 @@ jobs:
63
63
os : [macos-latest, windows-latest, ubuntu-latest]
64
64
go : [1.7, 1.8.6]
65
65
steps :
66
- - name : Checkout
67
- uses : actions/checkout@v2
68
- - name : setup-go ${{ matrix.go }}
69
- uses : ./
70
- with :
71
- go-version : ${{ matrix.go }}
72
- - name : verify go
73
- run : __tests__/verify-go.sh ${{ matrix.go }}
74
- shell : bash
66
+ - name : Checkout
67
+ uses : actions/checkout@v2
68
+
69
+ - name : setup-go ${{ matrix.go }}
70
+ uses : ./
71
+ with :
72
+ go-version : ${{ matrix.go }}
73
+
74
+ - name : verify go
75
+ run : __tests__/verify-go.sh ${{ matrix.go }}
76
+ shell : bash
Original file line number Diff line number Diff line change @@ -16,23 +16,23 @@ jobs:
16
16
matrix :
17
17
operating-system : [ubuntu-latest, windows-latest]
18
18
steps :
19
- - name : Checkout
20
- uses : actions/checkout@v2
19
+ - name : Checkout
20
+ uses : actions/checkout@v2
21
21
22
- - name : Setup node 12
23
- uses : actions/setup-node@v1
24
- with :
25
- node-version : 12
22
+ - name : Setup node 12
23
+ uses : actions/setup-node@v1
24
+ with :
25
+ node-version : 12
26
26
27
- - name : npm install
28
- run : npm install
27
+ - name : npm install
28
+ run : npm install
29
29
30
- - name : Lint
31
- run : npm run format-check
30
+ - name : Lint
31
+ run : npm run format-check
32
32
33
- - name : npm test
34
- run : npm test
33
+ - name : npm test
34
+ run : npm test
35
35
36
- - name : audit packages
37
- run : npm audit --audit-level=high
38
- if : matrix.operating-system == 'ubuntu-latest'
36
+ - name : audit packages
37
+ run : npm audit --audit-level=high
38
+ if : matrix.operating-system == 'ubuntu-latest'
Original file line number Diff line number Diff line change @@ -24,22 +24,22 @@ It will first check the local cache for a version match. If version is not found
24
24
Matching by semver spec:
25
25
``` yaml
26
26
steps :
27
- - uses : actions/checkout@v2
28
- - uses : actions/setup-go@v2
29
- with :
30
- go-version : ' ^1.13.1' # The Go version to download (if necessary) and use.
31
- - run : go version
27
+ - uses : actions/checkout@v2
28
+ - uses : actions/setup-go@v2
29
+ with :
30
+ go-version : ' ^1.13.1' # The Go version to download (if necessary) and use.
31
+ - run : go version
32
32
` ` `
33
33
34
34
Matching an unstable pre-release:
35
35
` ` ` yaml
36
36
steps :
37
- - uses : actions/checkout@v2
38
- - uses : actions/setup-go@v2
39
- with :
40
- stable : ' false'
41
- go-version : ' 1.14.0-rc1' # The Go version to download (if necessary) and use.
42
- - run : go version
37
+ - uses : actions/checkout@v2
38
+ - uses : actions/setup-go@v2
39
+ with :
40
+ stable : ' false'
41
+ go-version : ' 1.14.0-rc1' # The Go version to download (if necessary) and use.
42
+ - run : go version
43
43
` ` `
44
44
45
45
# Usage
@@ -49,11 +49,11 @@ See [action.yml](action.yml)
49
49
Basic:
50
50
` ` ` yaml
51
51
steps :
52
- - uses : actions/checkout@master
53
- - uses : actions/setup-go@v2
54
- with :
55
- go-version : ' 1.9.3' # The Go version to download (if necessary) and use.
56
- - run : go run hello.go
52
+ - uses : actions/checkout@master
53
+ - uses : actions/setup-go@v2
54
+ with :
55
+ go-version : ' 1.9.3' # The Go version to download (if necessary) and use.
56
+ - run : go run hello.go
57
57
` ` `
58
58
59
59
Matrix Testing:
You can’t perform that action at this time.
0 commit comments