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
12 changes: 3 additions & 9 deletions .github/workflows/op_rbuilder_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,11 @@ env:

jobs:
lint_and_test:
name: Lint and test
name: Lint and test (nightly)
runs-on: warp-ubuntu-latest-x64-16x
env:
# Set features for the Makefile
FEATURES: ${{ matrix.features }}
strategy:
matrix:
toolchain:
- nightly
features:
- ""
FEATURES: ""

steps:
- name: Checkout sources
Expand All @@ -32,7 +26,7 @@ jobs:
- name: Setup rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.toolchain }}
toolchain: nightly-2026-02-21
components: "rustfmt,clippy"

# https://github.com/swatinem/rust-cache
Expand Down
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ docker-image-rbuilder: ## Build a rbuilder Docker image

.PHONY: lint
lint: ## Run the linters
cargo +nightly fmt -- --check
cargo +nightly clippy --all-features -- -D warnings
cargo +nightly-2026-02-21 fmt -- --check
cargo +nightly-2026-02-21 clippy --all-features -- -D warnings

.PHONY: test
test: ## Run the tests for rbuilder and op-rbuilder
Expand All @@ -90,9 +90,9 @@ lt: lint test ## Run "lint" and "test"

.PHONY: fmt
fmt: ## Format the code
cargo +nightly fmt
cargo +nightly clippy --all-features --fix --allow-staged --allow-dirty
cargo +nightly fix --allow-staged --allow-dirty
cargo +nightly-2026-02-21 fmt
cargo +nightly-2026-02-21 clippy --all-features --fix --allow-staged --allow-dirty
cargo +nightly-2026-02-21 fix --allow-staged --allow-dirty

.PHONY: bench
bench: ## Run benchmarks
Expand Down
Loading