diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ec69f4a..b7ec752 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -7,12 +7,13 @@ jobs: rustfmt: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions-rs/toolchain@v1 + - uses: actions/checkout@v2 + - name: Install latest nightly + uses: actions-rs/toolchain@v1 with: toolchain: nightly - run: rustup component add rustfmt - - uses: actions-rs/cargo@v1 + - uses: actions-rs/cargo@v2 with: command: fmt args: --all -- --check @@ -20,12 +21,13 @@ jobs: clippy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions-rs/toolchain@v1 + - uses: actions/checkout@v2 + - name: Install latest nightly + uses: actions-rs/toolchain@v1 with: toolchain: stable - run: rustup component add clippy - - uses: actions-rs/cargo@v1 + - uses: actions-rs/cargo@v2 with: command: clippy # args: -- -D warnings