Skip to content

feat: add support for flake.parts and nix-direnv 3.0.6 #217

feat: add support for flake.parts and nix-direnv 3.0.6

feat: add support for flake.parts and nix-direnv 3.0.6 #217

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
SQLX_OFFLINE: true
RUSTFLAGS: "-D warnings"
jobs:
codespell:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Codespell
uses: codespell-project/actions-codespell@v2
format_check:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Install Rust Toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Check Formatting
run: cargo fmt --all -- --check
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Mold
uses: rui314/setup-mold@v1
- name: Install Rust Toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --verbose
- name: Test
run: cargo test --verbose