Skip to content

Commit 77d83b4

Browse files
add ci
1 parent f988f99 commit 77d83b4

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/nix.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Run fmt-ci
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- dev
8+
tags:
9+
- "v*.*.*"
10+
pull_request:
11+
branches:
12+
- main
13+
14+
jobs:
15+
check_nix:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v3
19+
- uses: DeterminateSystems/nix-installer-action@main
20+
- uses: DeterminateSystems/magic-nix-cache-action@main
21+
- uses: DeterminateSystems/flake-checker-action@main
22+
- name: Run `fmt-ci`
23+
run: nix develop --command fmt-ci

0 commit comments

Comments
 (0)