Skip to content

build(deps): bump DeterminateSystems/nix-installer-action from 14 to 16 in the actions group across 1 directory #21

build(deps): bump DeterminateSystems/nix-installer-action from 14 to 16 in the actions group across 1 directory

build(deps): bump DeterminateSystems/nix-installer-action from 14 to 16 in the actions group across 1 directory #21

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