diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 421c5bd636..7e73f90359 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,25 +40,19 @@ jobs: - name: Cargo fmt run: cargo +nightly fmt --all -- --check - clippy-nightly: - name: Cargo clippy + clippy: + name: Clippy runs-on: ubuntu-latest needs: [set-image] + # todo: fixme + continue-on-error: true container: image: ${{ needs.set-image.outputs.CI_IMAGE }} - env: - RUSTFLAGS: "-D warnings" steps: - name: Checkout sources uses: actions/checkout@v4 - - name: Rust Cache - uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2.7.5 - with: - cache-on-failure: true - cache-all-crates: true - - - name: Run clippy + - name: Clippy run: SKIP_WASM_BUILD=1 cargo clippy --all-targets --locked --workspace spellcheck: @@ -93,30 +87,9 @@ jobs: - name: Check run: SKIP_WASM_BUILD=1 time cargo check --locked --workspace - check-nightly: - name: Check - runs-on: ubuntu-latest - needs: [set-image] - container: - image: ${{ needs.set-image.outputs.CI_IMAGE }} - steps: - - name: Checkout sources - uses: actions/checkout@v4 - - - name: Rust Cache - uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2.7.5 - with: - cache-on-failure: true - cache-all-crates: true - - - name: Check - run: | - rustup default nightly - SKIP_WASM_BUILD=1 time cargo check --locked --workspace - test: name: Test - runs-on: ubuntu-latest + runs-on: parity-large needs: [set-image] container: image: ${{ needs.set-image.outputs.CI_IMAGE }} @@ -135,28 +108,6 @@ jobs: cargo fetch CARGO_NET_OFFLINE=true SKIP_WASM_BUILD=1 time cargo test --workspace - test-nightly: - name: Test - runs-on: ubuntu-latest - needs: [set-image] - container: - image: ${{ needs.set-image.outputs.CI_IMAGE }} - steps: - - name: Checkout sources - uses: actions/checkout@v4 - - - name: Rust Cache - uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2.7.5 - with: - cache-on-failure: true - cache-all-crates: true - - - name: Test nightly - run: | - rustup default nightly - cargo fetch - CARGO_NET_OFFLINE=true SKIP_WASM_BUILD=1 time cargo test --workspace - # do we really need this check? deny: name: Deny @@ -224,7 +175,7 @@ jobs: build: name: Build - runs-on: ubuntu-latest + runs-on: parity-large needs: [set-image] container: image: ${{ needs.set-image.outputs.CI_IMAGE }}