diff options
| author | seth <[email protected]> | 2023-05-16 07:35:29 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-16 07:36:41 -0400 |
| commit | 836c7ba70cfbf8394ae77f6c1c439234431734b7 (patch) | |
| tree | 3784aa88c43ce16374574d7c879ec0b32d069279 /.github | |
| parent | 5bc74e9c3a1ab354dfbd513990827c9b03f80022 (diff) | |
ci: add nix ci workflow
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yaml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..ebe17b6 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,26 @@ +name: ci + +on: + pull_request: + branches: [main] + push: + branches: [main] + +jobs: + format: + runs-on: ubuntu-latest + + steps: + - name: checkout repository + uses: actions/checkout@v3 + + - name: install nix + uses: cachix/install-nix-action@v20 + + - uses: cachix/cachix-action@v12 + with: + name: getchoo + authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} + + - name: build + run: nix build |
