We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c7a877 commit 4fe032dCopy full SHA for 4fe032d
.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: nightly
32
+ profile: minimal
33
+ components: clippy, 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