First round of tests running

This commit is contained in:
rasmus-kirk
2025-06-23 11:30:39 +02:00
parent e72c259f12
commit decf631992
5 changed files with 174 additions and 36 deletions
@@ -1,16 +1,16 @@
name: Formatting
name: Lint
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [main, release**]
pull_request:
branches: [main, release**]
branches: [main, dev, release**]
# Allows us to run the workflow manually from the Actions tab
workflow_dispatch:
jobs:
check-formatting:
fmt:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
@@ -21,3 +21,15 @@ jobs:
uses: DeterminateSystems/nix-installer-action@main
- run: nix fmt -- --check .
test:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- run: nix flake check