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 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 with: name: sno2wman authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - run: nix-shell --run "treefmt --fail-on-change"