Skip to content

Merge pull request #13 from script3r/codex/modernize-scanner #112

Merge pull request #13 from script3r/codex/modernize-scanner

Merge pull request #13 from script3r/codex/modernize-scanner #112

Workflow file for this run

name: Rust CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Check formatting
run: cargo fmt --all -- --check
- name: Lint code
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Run all-feature tests
run: cargo test --all-features --verbose
- name: Run minimal-feature tests
run: cargo test --no-default-features --verbose