Lucien Cartier-Tilet f9fe233b6c
All checks were successful
CI / tests (push) Successful in 5m42s
chore: add CI
2025-06-03 22:55:11 +02:00

23 lines
508 B
YAML

name: CI
on:
pull_request:
push:
concurrency:
group: ${{ gitea.workflow }}-${{ gitea.ref }}
cancel-in-progress: ${{gitea.ref != 'ref/heads/master' }}
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v31.4.0
with:
nix_path: nixpkgs=channl:nixos-unstable
- name: Clippy
run: nix develop --command -- cargo clippy --all
- name: Build
run: nix build .