Skip to content

feat: add GitHub Actions workflow for deploying to GitHub Pages #6

feat: add GitHub Actions workflow for deploying to GitHub Pages

feat: add GitHub Actions workflow for deploying to GitHub Pages #6

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --workspace
- name: Clippy
run: cargo clippy --workspace -- -D warnings
- name: Test
run: cargo test --workspace