Skip to content

docs: add design document (final year project report) #9

docs: add design document (final year project report)

docs: add design document (final year project report) #9

Workflow file for this run

name: build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
RUST_CHANNEL: nightly
RUSTFLAGS: "-Dwarnings"
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
run: |
rustup update --no-self-update ${{ env.RUST_CHANNEL }}
rustup component add --toolchain ${{ env.RUST_CHANNEL }} rustfmt clippy
rustup default ${{ env.RUST_CHANNEL }}
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Run lints
run: cargo clippy --all-targets --all-features