We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c7a877 commit 2e0b48bCopy full SHA for 2e0b48b
.github/workflows/webrtc.yml
@@ -23,16 +23,20 @@ jobs:
23
24
rustfmt_and_clippy:
25
name: Check rustfmt style && run clippy
26
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-latest
27
steps:
28
- uses: actions/checkout@v2
29
+ - uses: actions-rs/toolchain@v1
30
+ with:
31
+ toolchain: 1.40.0
32
+ profile: minimal
33
+ components: rustfmt
34
+ override: true
35
- name: Cache cargo registry
36
uses: actions/cache@v1
37
with:
38
path: ~/.cargo/registry
39
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- - name: Add clippy
- run: rustup component add clippy
40
- name: Run clippy
41
uses: actions-rs/cargo@v1
42
0 commit comments