Skip to content

Commit 02f7ea9

Browse files
authored
Fix yaml indent (#59)
1 parent 5805cf7 commit 02f7ea9

File tree

4 files changed

+47
-45
lines changed

4 files changed

+47
-45
lines changed

.github/workflows/release-new-action-version.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
name: releaseNewActionVersion
2121
runs-on: ubuntu-latest
2222
steps:
23-
- name: Update the ${{ env.TAG_NAME }} tag
24-
uses: actions/[email protected]
25-
with:
26-
source-tag: ${{ env.TAG_NAME }}
27-
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
23+
- name: Update the ${{ env.TAG_NAME }} tag
24+
uses: actions/[email protected]
25+
with:
26+
source-tag: ${{ env.TAG_NAME }}
27+
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}

.github/workflows/versions.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,14 @@ jobs:
6363
os: [macos-latest, windows-latest, ubuntu-latest]
6464
go: [1.7, 1.8.6]
6565
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

.github/workflows/workflow.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,23 @@ jobs:
1616
matrix:
1717
operating-system: [ubuntu-latest, windows-latest]
1818
steps:
19-
- name: Checkout
20-
uses: actions/checkout@v2
19+
- name: Checkout
20+
uses: actions/checkout@v2
2121

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
2626

27-
- name: npm install
28-
run: npm install
27+
- name: npm install
28+
run: npm install
2929

30-
- name: Lint
31-
run: npm run format-check
30+
- name: Lint
31+
run: npm run format-check
3232

33-
- name: npm test
34-
run: npm test
33+
- name: npm test
34+
run: npm test
3535

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'

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,22 @@ It will first check the local cache for a version match. If version is not found
2424
Matching by semver spec:
2525
```yaml
2626
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
3232
```
3333
3434
Matching an unstable pre-release:
3535
```yaml
3636
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
4343
```
4444
4545
# Usage
@@ -49,11 +49,11 @@ See [action.yml](action.yml)
4949
Basic:
5050
```yaml
5151
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
5757
```
5858
5959
Matrix Testing:

0 commit comments

Comments
 (0)