Skip to content

Commit b408e12

Browse files
committed
ci: autoformat ci.yml with prettier
1 parent 921c2c4 commit b408e12

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches:
88
- master
99
schedule:
10-
- cron: '11 7 * * 1,4'
10+
- cron: "11 7 * * 1,4"
1111

1212
env:
1313
RUSTFLAGS: -Dwarnings
@@ -22,51 +22,51 @@ jobs:
2222
rust: [nightly, beta, stable]
2323

2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v3
2626

27-
- name: Install ${{ matrix.rust }}
28-
uses: actions-rs/toolchain@v1
29-
with:
30-
toolchain: ${{ matrix.rust }}
31-
override: true
27+
- name: Install ${{ matrix.rust }}
28+
uses: actions-rs/toolchain@v1
29+
with:
30+
toolchain: ${{ matrix.rust }}
31+
override: true
3232

33-
- name: check
34-
uses: actions-rs/cargo@v1
35-
with:
36-
command: check
37-
args: --all --bins --examples --tests
33+
- name: check
34+
uses: actions-rs/cargo@v1
35+
with:
36+
command: check
37+
args: --all --bins --examples --tests
3838

39-
- name: check bench
40-
uses: actions-rs/cargo@v1
41-
if: matrix.rust == 'nightly'
42-
with:
43-
command: check
44-
args: --benches
39+
- name: check bench
40+
uses: actions-rs/cargo@v1
41+
if: matrix.rust == 'nightly'
42+
with:
43+
command: check
44+
args: --benches
4545

46-
- name: tests
47-
uses: actions-rs/cargo@v1
48-
with:
49-
command: test
50-
args: --all
46+
- name: tests
47+
uses: actions-rs/cargo@v1
48+
with:
49+
command: test
50+
args: --all
5151

5252
check_fmt_and_docs:
5353
name: Checking fmt and docs
5454
runs-on: ubuntu-latest
5555
steps:
56-
- uses: actions/checkout@v3
56+
- uses: actions/checkout@v3
5757

58-
- uses: actions-rs/toolchain@v1
59-
with:
58+
- uses: actions-rs/toolchain@v1
59+
with:
6060
profile: minimal
6161
toolchain: stable
6262
override: true
6363
components: rustfmt
6464

65-
- name: fmt
66-
run: cargo fmt --all -- --check
65+
- name: fmt
66+
run: cargo fmt --all -- --check
6767

68-
- name: Docs
69-
run: cargo doc
68+
- name: Docs
69+
run: cargo doc
7070

7171
clippy_check:
7272
name: Clippy check

0 commit comments

Comments
 (0)