name: Run checks on code on: pull_request: push: jobs: check: name: Check that the module is valid runs-on: self-hosted timeout-minutes: 40 steps: - uses: actions/checkout@v4 - uses: cachix/install-nix-action@v20 with: nix_path: nixpkgs=channel:nixos-unstable github_access_token: ${{ secrets.GITHUB_TOKEN }} - uses: cachix/cachix-action@v13 with: name: nix-community authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - run: nix flake check --all-systems - run: nix flake check --all-systems ./templates/_wrapper/simple --no-write-lock-file - run: nix build .#docs --show-trace