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 #5

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
--packages
treefmt
nixpkgs-fmt
shfmt
shellcheck
black
nodePackages.prettier
codespell
--command "treefmt --fail-on-change --no-cache"