Skip to content

Commit

Permalink
Add treefmt to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
DanNixon committed Oct 7, 2023
1 parent 373bae4 commit 3471fe3
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: CI

on:
push:
branches:
- main
pull_request:

jobs:
formatting:
name: Formatting
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20

- name: treefmt
run: nix develop --command treefmt --fail-on-change

0 comments on commit 3471fe3

Please sign in to comment.