Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Run treefmt in CI

Run treefmt in CI #2

Workflow file for this run

name: treefmt
on: [push, pull_request]
jobs:
formatter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v23
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: treefmt
run: nix-shell \
--package treefmt \
--package nixpkgs-fmt \
--package shfmt \
--package shellcheck \
--package black \
--package nodePackages.prettier \
--package codespell \
--command "treefmt --fail-on-change --no-cache"