diff --git a/.github/workflows/cross.yml b/.github/workflows/cross.yml index 84c8e894f..2d421f7fe 100644 --- a/.github/workflows/cross.yml +++ b/.github/workflows/cross.yml @@ -37,20 +37,16 @@ jobs: - x86_64-unknown-linux-musl # - x86_64-unknown-netbsd # error in tests "error: test failed, to rerun pass '--lib'", disabled for now steps: - - name: Checkout Crate - uses: actions/checkout@v2 + - name: "Checkout repo" + uses: actions/checkout@v4 - uses: Swatinem/rust-cache@v1.2.0 with: key: ${{ matrix.feature }}${{ matrix.os }} - - name: Checkout Toolchain - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true - - name: Install target + - name: "Select toolchain" + uses: dtolnay/rust-toolchain@stable + - name: "Install target" run: rustup target add ${{ matrix.arch }} - - name: install cross + - name: "Install cross" run: cargo install cross - - name: run cross test + - name: "Run cross test" run: cross test --target ${{ matrix.arch }} --verbose