diff options
| author | seth <[email protected]> | 2023-09-06 10:44:45 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-09-06 10:48:17 -0400 |
| commit | d2c208b9d68396e0269faad2fc8bdf51be257b23 (patch) | |
| tree | a417cbfbc6febd142f979bb5bad94789859c2983 /.github/workflows/check.yaml | |
| parent | f528bd1b1435fef8185c106b4f1e17d64dd5bf2d (diff) | |
actions: add check workflow
Diffstat (limited to '.github/workflows/check.yaml')
| -rw-r--r-- | .github/workflows/check.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml new file mode 100644 index 0000000..e8f354f --- /dev/null +++ b/.github/workflows/check.yaml @@ -0,0 +1,25 @@ +name: run checks + +on: + push: + branches: + - main + pull_request: + workflow_dispatch: + + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: DeterminateSystems/nix-installer-action@main + - uses: DeterminateSystems/magic-nix-cache-action@main + + - name: stylua + run: + nix build -L .#checks.x86_64-linux.stylua + + - name: flake check + run: nix flake check --accept-flake-config |
