From 94d85d922fbd826e64d207a2cdc67eab0bb3cb5b Mon Sep 17 00:00:00 2001 From: Luro02 <24826124+Luro02@users.noreply.github.com> Date: Mon, 10 Feb 2020 13:54:51 +0100 Subject: [PATCH] fix github actions --- .github/workflows/rust.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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