build(deps): bump DeterminateSystems/nix-installer-action from 14 to 16 in the actions group across 1 directory #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, ready_for_review, reopened] | |
jobs: | |
pre-commit: | |
name: PreCommit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: DeterminateSystems/nix-installer-action@v16 | |
with: | |
diagnostic-endpoint: "" | |
- uses: DeterminateSystems/magic-nix-cache-action@v8 | |
with: | |
diagnostic-endpoint: "" | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- id: files | |
uses: tj-actions/changed-files@v45 | |
#TODO: check why trigger a infinite recursion but works fine locally | |
#- name: nix checks | |
# run: nix flake check | |
- name: nix pre-commit | |
run: nix develop . --command pre-commit run --files ${{ steps.files.outputs.all_changed_files }} --show-diff-on-failure |