31 lines
661 B
YAML
31 lines
661 B
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
check-flake:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
|
|
- uses: cachix/install-nix-action@v31
|
|
with:
|
|
extra_nix_config: |
|
|
experimental-features = nix-command flakes
|
|
accept-flake-config = true
|
|
|
|
- name: check formatting
|
|
run: nix fmt -- --check
|
|
|
|
- name: statix linting check
|
|
run: nix run nixpkgs#statix -- check .
|
|
|
|
- name: evaluate all configurations
|
|
run: nix flake check --no-build --all-systems
|
|
|
|
- name: build packages
|
|
run: nix build --no-link .#heidisql .#aseprite-thumbnailer-kde
|
|
|