Skip to content

Commit 4fe032d

Browse files
committed
fix fmt error
1 parent 0c7a877 commit 4fe032d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/webrtc.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,20 @@ jobs:
2323

2424
rustfmt_and_clippy:
2525
name: Check rustfmt style && run clippy
26-
runs-on: ubuntu-20.04
26+
runs-on: ubuntu-latest
2727
steps:
2828
- uses: actions/checkout@v2
29+
- uses: actions-rs/toolchain@v1
30+
with:
31+
toolchain: nightly
32+
profile: minimal
33+
components: clippy, rustfmt
34+
override: true
2935
- name: Cache cargo registry
3036
uses: actions/cache@v1
3137
with:
3238
path: ~/.cargo/registry
3339
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
34-
- name: Add clippy
35-
run: rustup component add clippy
3640
- name: Run clippy
3741
uses: actions-rs/cargo@v1
3842
with:

0 commit comments

Comments
 (0)