Skip to content

ci: Bump actions/checkout from 4 to 6 #27

ci: Bump actions/checkout from 4 to 6

ci: Bump actions/checkout from 4 to 6 #27

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Cache cargo registry
uses: Swatinem/rust-cache@v2
with:
cache-all-crates: true
- name: Check formatting
run: cargo fmt --check
- name: Run clippy
run: cargo clippy --all-features -- -D warnings
- name: Run tests (all features)
run: cargo test --all-features
- name: Run FFI tests
run: cargo test --features ffi
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo registry
uses: Swatinem/rust-cache@v2
with:
cache-all-crates: true
- name: Install security tools
run: cargo install cargo-deny cargo-audit
- name: Check dependencies (licenses & security advisories)
run: cargo deny check
- name: Run cargo audit
run: cargo audit