deno2.nix/.github/workflows/ci.yml

30 lines
679 B
YAML
Raw Normal View History

2022-08-03 23:36:07 +00:00
name: CI
on:
push:
jobs:
flake-check:
name: nix-check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
- uses: cachix/cachix-action@v11
2022-08-03 23:36:07 +00:00
with:
name: sno2wman
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- run: nix flake check
treefmt:
name: treefmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
- uses: cachix/cachix-action@v11
2022-08-03 23:36:07 +00:00
with:
name: sno2wman
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- run: nix-shell --run "treefmt --fail-on-change"