Fix workflow yaml file indent

This commit is contained in:
Masahiro Furudate 2020-07-04 18:06:13 +09:00
parent 7c3ded3c46
commit a410febbf1
2 changed files with 26 additions and 24 deletions

View file

@ -63,12 +63,14 @@ jobs:
os: [macos-latest, windows-latest, ubuntu-latest] os: [macos-latest, windows-latest, ubuntu-latest]
go: [1.7, 1.8.6] go: [1.7, 1.8.6]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: setup-go ${{ matrix.go }}
uses: ./ - name: setup-go ${{ matrix.go }}
with: uses: ./
go-version: ${{ matrix.go }} with:
- name: verify go go-version: ${{ matrix.go }}
run: __tests__/verify-go.sh ${{ matrix.go }}
shell: bash - name: verify go
run: __tests__/verify-go.sh ${{ matrix.go }}
shell: bash

View file

@ -16,23 +16,23 @@ jobs:
matrix: matrix:
operating-system: [ubuntu-latest, windows-latest] operating-system: [ubuntu-latest, windows-latest]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Setup node 12 - name: Setup node 12
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: 12 node-version: 12
- name: npm install - name: npm install
run: npm install run: npm install
- name: Lint - name: Lint
run: npm run format-check run: npm run format-check
- name: npm test - name: npm test
run: npm test run: npm test
- name: audit packages - name: audit packages
run: npm audit --audit-level=high run: npm audit --audit-level=high
if: matrix.operating-system == 'ubuntu-latest' if: matrix.operating-system == 'ubuntu-latest'