Skip to content

Introduce treefmt-nix as a universal formatter infra #2

Introduce treefmt-nix as a universal formatter infra

Introduce treefmt-nix as a universal formatter infra #2

Workflow file for this run

name: Continuous integration
on: [push, pull_request]
jobs:
Format:
runs-on: ubuntu-latest
steps:
- name: "Checkout repo"
uses: actions/checkout@v4
- name: "Install nix"
uses: DeterminateSystems/determinate-nix-action@main
- name: "Use nix cache"
uses: DeterminateSystems/magic-nix-cache-action@main
- name: "Install treefmt"
run: nix profile install github:numtide/treefmt
- name: "Run formatting check"
run: treefmt --ci