Skip to content

chore(deps): Bump cachix/install-nix-action from V27 to 28 #33

chore(deps): Bump cachix/install-nix-action from V27 to 28

chore(deps): Bump cachix/install-nix-action from V27 to 28 #33

Workflow file for this run

name: Check treefmt
on:
push:
paths:
# Set this to the directory of the template
- treefmt/**
- .github/workflows/check-treefmt.yml
workflow_dispatch:
workflow_call:
concurrency:
group: check-treefmt-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: cachix/install-nix-action@V28
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
with:
path: ./tmp
- run: nix flake new -t ./tmp#treefmt ./work
- name: Prepare the project
working-directory: work
run: |
git init
git add .
- run: nix fmt "$PWD"
working-directory: work
- run: nix flake check --print-build-logs
working-directory: work