diff --git a/.github/actions/cross-tests/action.yml b/.github/actions/cross-tests/action.yml index 83c745eb..319ad014 100644 --- a/.github/actions/cross-tests/action.yml +++ b/.github/actions/cross-tests/action.yml @@ -14,12 +14,10 @@ runs: using: "composite" steps: - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@v1 with: - profile: minimal toolchain: ${{ inputs.rust }} - target: ${{ inputs.target }} - override: true + targets: ${{ inputs.target }} - uses: RustCrypto/actions/cross-install@master - run: | # cd ${{ inputs.package }} Not needed, as only a single crate is located in this repository diff --git a/.github/workflows/lms.yml b/.github/workflows/lms.yml index 579a40e2..e4edd51d 100644 --- a/.github/workflows/lms.yml +++ b/.github/workflows/lms.yml @@ -17,12 +17,10 @@ jobs: steps: - uses: actions/checkout@v4 - uses: RustCrypto/actions/cargo-cache@master - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@v1 with: toolchain: stable components: rustfmt - profile: minimal - override: true - run: | cargo fmt --version cargo fmt --all -- --check @@ -32,12 +30,10 @@ jobs: steps: - uses: actions/checkout@v4 - uses: RustCrypto/actions/cargo-cache@master - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@v1 with: toolchain: stable components: clippy - profile: minimal - override: true - run: | cargo clippy --version cargo clippy --lib --bins --tests --examples --all-features -- -D warnings @@ -86,12 +82,10 @@ jobs: steps: - uses: actions/checkout@v4 - uses: RustCrypto/actions/cargo-cache@master - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@v1 with: - profile: minimal toolchain: ${{ matrix.rust }} - target: ${{ matrix.target }} - override: true + targets: ${{ matrix.target }} - run: cargo build --no-default-features --target ${{ matrix.target }} test: @@ -105,11 +99,9 @@ jobs: steps: - uses: actions/checkout@v4 - uses: RustCrypto/actions/cargo-cache@master - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@v1 with: - profile: minimal toolchain: ${{ matrix.rust }} - override: true - run: cargo test - run: cargo test -- --include-ignored - run: cargo test --features fast_verify @@ -121,9 +113,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: RustCrypto/actions/cargo-cache@master - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@v1 with: - profile: minimal toolchain: nightly - run: rustup run nightly cargo bench