diff options
author | Tilmann Meyer <allescrafterx@gmail.com> | 2020-07-08 17:53:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-08 11:53:03 -0400 |
commit | de041dd39d86d5b6b7ae6a2f52106ae437f3eee4 (patch) | |
tree | 597174db8252661128b3b3bba91d77c3b009d0fe /.github | |
parent | ec76fafff08933f6f31fb99ea974bdb5ae97a0af (diff) |
ci: revert back to actions-rs (#1457)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/deploy.yml | 14 | ||||
-rw-r--r-- | .github/workflows/workflow.yml | 29 |
2 files changed, 29 insertions, 14 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7cbeaa26e..24eec2ed1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,9 +14,11 @@ jobs: uses: actions/checkout@v2 - name: Setup | Rust - uses: ATiltedTree/setup-rust@v1 + uses: actions-rs/toolchain@v1 with: - rust-version: stable + toolchain: stable + profile: minimal + override: true - name: Build | Publish run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }} @@ -70,10 +72,12 @@ jobs: key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Setup | Rust - uses: ATiltedTree/setup-rust@v1 + uses: actions-rs/toolchain@v1 with: - rust-version: stable - targets: ${{ matrix.target }} + toolchain: stable + override: true + profile: minimal + target: ${{ matrix.target }} - name: Setup | musl tools if: matrix.target == 'x86_64-unknown-linux-musl' diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 61798cef7..8e8cfec89 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -19,9 +19,11 @@ jobs: uses: actions/checkout@v2 - name: Setup | Rust - uses: ATiltedTree/setup-rust@v1 + uses: actions-rs/toolchain@v1 with: - rust-version: stable + toolchain: stable + override: true + profile: minimal components: rustfmt - name: Build | Format @@ -46,13 +48,18 @@ jobs: key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Setup | Rust - uses: ATiltedTree/setup-rust@v1 + uses: actions-rs/toolchain@v1 with: - rust-version: stable + toolchain: stable + override: true + profile: minimal components: clippy - name: Build | Lint - run: cargo clippy --all-targets --all-features -- -D clippy::all + uses: actions-rs/cargo@v1 + with: + command: clippy + args: --all-targets --all-features -- -D clippy::all # Ensure that the project could be successfully compiled cargo_check: @@ -73,9 +80,11 @@ jobs: key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Setup | Rust - uses: ATiltedTree/setup-rust@v1 + uses: actions-rs/toolchain@v1 with: - rust-version: stable + toolchain: stable + profile: minimal + override: true - name: Build | Check run: cargo check --all @@ -106,9 +115,11 @@ jobs: # Install all the required dependencies for testing - name: Setup | Rust - uses: ATiltedTree/setup-rust@v1 + uses: actions-rs/toolchain@v1 with: - rust-version: ${{ matrix.rust }} + toolchain: ${{ matrix.rust }} + profile: minimal + override: true # Install dotnet at a fixed version - name: Setup | DotNet |