Something went wrong. Try again.
forked from zhaofengli/colmena
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637name: Linters
on: pull_request: push:jobs: linters: name: Linters
runs-on: ubuntu-latest
steps: - uses: actions/checkout@v7.0.1
- name: Install Nix uses: DeterminateSystems/nix-installer-action@3138316df39ed29be04236d7ffc686fa525866aa # v23 continue-on-error: true # Self-hosted runners already have Nix installed
- name: Enable binary cache uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16 with: name: colmena authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Check run: | nix --version nix fmt if [[ -n "$(git status --porcelain)" ]]; then echo "================================================================" echo " Formatter produced changes. Run 'nix fmt' locally and commit." echo "================================================================" git status git --no-pager diff exit 1 fi