-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🎨 Run treefmt with the updated inputs
- Loading branch information
Showing
4 changed files
with
164 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,31 @@ | ||
name: "ci" | ||
|
||
on: | ||
workflow_dispatch: # allows manual triggering | ||
pull_request: | ||
branches: [ main ] | ||
branches: [main] | ||
paths-ignore: | ||
- '**.md' | ||
push: | ||
branches: [ main ] | ||
branches: [main] | ||
paths-ignore: | ||
- '**.md' | ||
merge_group: | ||
|
||
jobs: | ||
flake-check: | ||
runs-on: ubuntu-latest | ||
environment: cachix | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # Nix Flakes doesn't work on shallow clones | ||
- uses: cachix/install-nix-action@V27 | ||
with: | ||
extra_nix_config: | | ||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | ||
- uses: cachix/cachix-action@v15 | ||
with: | ||
name: friedow | ||
# If you chose API tokens for write access OR if you have a private cache | ||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | ||
- name: "flake check" | ||
run: nix flake check -Lvv --no-update-lock-file | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # Nix Flakes doesn't work on shallow clones | ||
- uses: cachix/install-nix-action@V27 | ||
with: | ||
extra_nix_config: | | ||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | ||
- uses: cachix/cachix-action@v15 | ||
with: | ||
name: friedow | ||
# If you chose API tokens for write access OR if you have a private cache | ||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | ||
- name: "flake check" | ||
run: nix flake check -Lvv --no-update-lock-file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters