Skip to content

Commit

Permalink
Reformat Github Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
foriequal0 committed Oct 29, 2019
1 parent 46b7ca5 commit 8cf0468
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 14 deletions.
11 changes: 10 additions & 1 deletion .editorconfig
Expand Up @@ -11,7 +11,16 @@ insert_final_newline=true

[*.yml]
indent_style=space
indent_size=4
indent_size=2
tab_width=8
end_of_line=lf
charset=utf-8
trim_trailing_whitespace=true
insert_final_newline=true

[.github/**/*.yml]
indent_style=space
indent_size=2
tab_width=8
end_of_line=lf
charset=utf-8
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cargo-test.yml
Expand Up @@ -10,8 +10,8 @@ jobs:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2019-10-13
override: true
toolchain: nightly-2019-10-13
override: true
- run: rustup component add clippy
- run: cargo fetch --verbose
- run: cargo clippy --all --all-targets -- -D warnings
Expand All @@ -23,8 +23,8 @@ jobs:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2019-10-13
override: true
toolchain: nightly-2019-10-13
override: true
- run: rustup component add rustfmt
- run: cargo fmt -- --check

Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/yarn-lint.yml
Expand Up @@ -7,12 +7,12 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '10.x'
- run: npm install yarn
- working-directory: ./test
run: yarn
- working-directory: ./test
run: yarn lint
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '10.x'
- run: npm install yarn
- working-directory: ./test
run: yarn
- working-directory: ./test
run: yarn lint

0 comments on commit 8cf0468

Please sign in to comment.