File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ push : {}
3
+ pull_request :
4
+ types : [opened, reopened, synchronize]
5
+
6
+ name : Build
1
7
2
- name : " Build"
3
- on : [pull_request, push]
4
8
jobs :
5
9
build :
6
10
runs-on : ubuntu-latest
7
11
steps :
8
12
- uses : actions/checkout@v4
13
+ with :
14
+ fetch-depth : 0
9
15
- uses : cachix/install-nix-action@v22
10
16
with :
11
17
github_access_token : ${{ secrets.GITHUB_TOKEN }}
12
18
- uses : cachix/cachix-action@v12
13
19
with :
14
20
name : smk
15
- authToken : ' ${{ secrets.CACHIX_AUTH_TOKEN }}'
21
+ authToken : ${{ secrets.CACHIX_AUTH_TOKEN }}
16
22
- name : Build release
17
23
run : nix develop --command make all
18
24
- name : Archive code coverage results
@@ -25,12 +31,14 @@ jobs:
25
31
runs-on : ubuntu-latest
26
32
steps :
27
33
- uses : actions/checkout@v4
34
+ with :
35
+ fetch-depth : 0
28
36
- uses : cachix/install-nix-action@v22
29
37
with :
30
38
github_access_token : ${{ secrets.GITHUB_TOKEN }}
31
39
- uses : cachix/cachix-action@v12
32
40
with :
33
41
name : smk
34
- authToken : ' ${{ secrets.CACHIX_AUTH_TOKEN }}'
42
+ authToken : ${{ secrets.CACHIX_AUTH_TOKEN }}
35
43
- name : Build release
36
44
run : nix develop --command clang-format --dry-run -Werror -style=file -i src/**.{h,c}
You can’t perform that action at this time.
0 commit comments