Skip to content

Add bug report issue form #169

Add bug report issue form

Add bug report issue form #169

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
format:
name: Check format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Check Format
run: cargo fmt -- --check
build:
name: Build (${{ matrix.os }})
runs-on: ${{ matrix.os }}
needs:
- format
strategy:
matrix:
os:
- macOS-latest
- ubuntu-latest
- windows-latest
steps:
- uses: actions/checkout@v6
- name: Cache
uses: actions/cache@v5
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build
run: cargo build
- name: Lint
run: cargo clippy -- -D warnings
- name: Test
run: cargo test
build-nix:
name: Build Nix
needs:
- build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: cachix/install-nix-action@v31
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Build Nix Package (classic)
run: nix-build
- name: Build Flake
run: nix build