Skip to content

Commit

Permalink
rm some jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
alvicsam committed Oct 30, 2024
1 parent d19f962 commit 369aa6e
Showing 1 changed file with 7 additions and 56 deletions.
63 changes: 7 additions & 56 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
Expand All @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 369aa6e

Please sign in to comment.