Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ jobs:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

# Can be removed once https://github.com/actions/runner-images/pull/13076 is released
- name: Setup Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@02be93da58aa71fb456aa9c43b301149248829d8 # v1.15.1

- name: Check formatting
run: cargo fmt --check

Expand All @@ -45,8 +49,6 @@ jobs:
- name: Build npm package
run: npm ci



- name: Cargo test 'adblock' package
run: cargo test --all-features --tests --no-fail-fast

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/sanity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

# Can be removed once https://github.com/actions/runner-images/pull/13076 is released
- name: Setup Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@02be93da58aa71fb456aa9c43b301149248829d8 # v1.15.1

- name: Cargo clippy
run: cargo clippy --all-targets --all-features -- -D warnings

Expand Down
1 change: 1 addition & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[toolchain]
channel = "stable"
components = ["clippy", "rustfmt" ]
Loading