Skip to content

Fix .gitignore: remove target files and add .jj exclusion #17

Fix .gitignore: remove target files and add .jj exclusion

Fix .gitignore: remove target files and add .jj exclusion #17

Workflow file for this run

name: Rust CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y libfontconfig1-dev pkg-config
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --all --verbose
- name: Run clippy (linter)
run: cargo clippy --all -- -D warnings
- name: Run fmt (format check)
run: cargo fmt --all -- --check