diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 467a7c5..da008d1 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -9,9 +9,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - - name: Install clippy - run: rustup component add clippy + + - name: Install stable toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + profile: minimal + components: clippy - name: Run cargo clippy uses: actions-rs/clippy-check@v1 diff --git a/.github/workflows/fmt.yml b/.github/workflows/fmt.yml index 0e46f4f..7139447 100644 --- a/.github/workflows/fmt.yml +++ b/.github/workflows/fmt.yml @@ -14,10 +14,8 @@ jobs: uses: actions-rs/toolchain@v1 with: toolchain: stable - override: true - - - name: Install rustfmt - run: rustup component add rustfmt + profile: minimal + components: rustfmt - name: Run cargo fmt uses: actions-rs/cargo@v1 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 54162fd..f9805aa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,7 +32,6 @@ jobs: toolchain: stable target: ${{ matrix.item.target }} profile: minimal - override: true - name: Run cargo check uses: actions-rs/cargo@v1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2ab4446..c43e16e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,6 +46,7 @@ jobs: - name: Get the git tag id: tag + shell: bash run: echo ::set-output name=tag::${GITHUB_REF/refs\/tags\//} - name: Get the GitHub release upload URL @@ -64,7 +65,6 @@ jobs: toolchain: stable target: ${{ matrix.item.target }} profile: minimal - override: true - name: Run cargo build uses: actions-rs/cargo@v1