Skip to content

Commit 3bf1327

Browse files
committed
Github workflows
1 parent 5e6f19a commit 3bf1327

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.github/workflows/format.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Format
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
jobs:
10+
check-formatting:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
- uses: cachix/install-nix-action@v22
16+
with:
17+
nix_path: nixpkgs=channel:nixos-unstable
18+
- run: nix-shell --run "fourmolu -m check ."

.github/workflows/nix.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v3
20-
with:
21-
submodules: true
2220
- uses: cachix/install-nix-action@v22
2321
with:
2422
nix_path: nixpkgs=channel:nixos-unstable

0 commit comments

Comments
 (0)