name: tests on: push: branches: [ master ] pull_request: branches: [ master ] jobs: nix: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: cachix/install-nix-action@v22 - run: nix flake check format: name: nix fmt -- --check **/*.nix runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: cachix/install-nix-action@v22 - run: nix fmt -- --check **/*.nix