diff --git a/.github/workflows/webrtc.yml b/.github/workflows/webrtc.yml index c40d53243..3a061c5c2 100644 --- a/.github/workflows/webrtc.yml +++ b/.github/workflows/webrtc.yml @@ -23,20 +23,16 @@ jobs: rustfmt_and_clippy: name: Check rustfmt style && run clippy - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 - with: - toolchain: 1.46.0 - profile: minimal - components: clippy, rustfmt - override: true - name: Cache cargo registry uses: actions/cache@v1 with: path: ~/.cargo/registry key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} + - name: Add clippy + run: rustup component add clippy - name: Run clippy uses: actions-rs/cargo@v1 with: