mirror of
https://github.com/instant-labs/instant-acme.git
synced 2025-02-16 05:12:09 +00:00
Remove usage of actions-rs/cargo
This commit is contained in:
parent
a27ef58987
commit
8d18a91b17
21
.github/workflows/rust.yml
vendored
21
.github/workflows/rust.yml
vendored
@ -26,10 +26,7 @@ jobs:
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: ${{ matrix.rust }}
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
args: --all-features --all-targets
|
||||
- run: cargo test --all-features --all-targets
|
||||
|
||||
msrv:
|
||||
runs-on: ubuntu-latest
|
||||
@ -38,10 +35,7 @@ jobs:
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: 1.63.0
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: check
|
||||
args: --lib --all-features
|
||||
- run: cargo check --lib --all-features
|
||||
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
@ -50,15 +44,8 @@ jobs:
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: rustfmt, clippy
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: fmt
|
||||
args: --all -- --check
|
||||
- uses: actions-rs/cargo@v1
|
||||
if: always()
|
||||
with:
|
||||
command: clippy
|
||||
args: --workspace --all-targets --all-features -- -D warnings
|
||||
- run: cargo fmt --all -- --check
|
||||
- run: cargo clippy --all-targets --all-features -- -D warnings
|
||||
|
||||
audit:
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
Reference in New Issue
Block a user