Add github actions workflow for CI tests
Some checks failed
Test / tests (push) Failing after 1m44s

This commit is contained in:
Thomas Preisner 2025-01-02 23:09:06 +01:00
parent a9aebf64bf
commit 5ee6e9b097
2 changed files with 18 additions and 0 deletions

17
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: "Test"
on:
pull_request:
push:
branches:
- main
schedule:
- cron: '42 7 * * *'
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v30
- name: Execute unit tests
run: nix flake check

View file

@ -59,6 +59,7 @@
treefmt = {
programs = {
actionlint.enable = true;
alejandra.enable = true;
};
settings.global.excludes = [