Skip to content

GUI, of sorts (#14) #27

GUI, of sorts (#14)

GUI, of sorts (#14) #27

Workflow file for this run

name: Build/lint/test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-Dwarnings"
jobs:
check-format:
name: "Check code formatting"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/rustup
- name: Check formatting
run: cargo fmt --check
build:
name: "Build, lint, test"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: awalsh128/cache-apt-pkgs-action@v1.4.2
with:
packages: libgtk-4-1 libgtk-4-dev
- uses: ./.github/actions/rustup
- name: Build
run: cargo build --verbose
- name: Run clippy
run: cargo clippy --all-targets --all-features
- name: Run tests
run: cargo test --verbose