Skip to content

Commit d85ed13

Browse files
committed
Reformat Github Actions workflows
1 parent 6419957 commit d85ed13

File tree

3 files changed

+23
-14
lines changed

3 files changed

+23
-14
lines changed

.editorconfig

+10-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,16 @@ insert_final_newline=true
1111

1212
[*.yml]
1313
indent_style=space
14-
indent_size=4
14+
indent_size=2
15+
tab_width=8
16+
end_of_line=lf
17+
charset=utf-8
18+
trim_trailing_whitespace=true
19+
insert_final_newline=true
20+
21+
[.github/**/*.yml]
22+
indent_style=space
23+
indent_size=2
1524
tab_width=8
1625
end_of_line=lf
1726
charset=utf-8

.github/workflows/cargo-test.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
- uses: actions/checkout@v1
1111
- uses: actions-rs/toolchain@v1
1212
with:
13-
toolchain: nightly-2019-10-13
14-
override: true
13+
toolchain: nightly-2019-10-13
14+
override: true
1515
- run: rustup component add clippy
1616
- run: cargo fetch --verbose
1717
- run: cargo clippy --all --all-targets -- -D warnings
@@ -23,8 +23,8 @@ jobs:
2323
- uses: actions/checkout@v1
2424
- uses: actions-rs/toolchain@v1
2525
with:
26-
toolchain: nightly-2019-10-13
27-
override: true
26+
toolchain: nightly-2019-10-13
27+
override: true
2828
- run: rustup component add rustfmt
2929
- run: cargo fmt -- --check
3030

.github/workflows/yarn-lint.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ jobs:
77
name: lint
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v1
11-
- uses: actions/setup-node@v1
12-
with:
13-
node-version: '10.x'
14-
- run: npm install yarn
15-
- working-directory: ./test
16-
run: yarn
17-
- working-directory: ./test
18-
run: yarn lint
10+
- uses: actions/checkout@v1
11+
- uses: actions/setup-node@v1
12+
with:
13+
node-version: '10.x'
14+
- run: npm install yarn
15+
- working-directory: ./test
16+
run: yarn
17+
- working-directory: ./test
18+
run: yarn lint

0 commit comments

Comments
 (0)