name: "Check validity of flakes" on: pull_request: workflow_dispatch: push: branches: - main jobs: nix-flake-check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: cachix/install-nix-action@v18 with: extra_nix_config: | access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - run: nix flake check