File tree 2 files changed +52
-0
lines changed 2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : check
2
+ on :
3
+ pull_request :
4
+ branches : [main]
5
+ push :
6
+ branches : [main]
7
+
8
+ jobs :
9
+ check :
10
+ runs-on : ${{ matrix.os }}
11
+ strategy :
12
+ matrix :
13
+ os : [ubuntu-latest, macos-latest, macos-14]
14
+ steps :
15
+ - uses : actions/checkout@v3
16
+ - uses : DeterminateSystems/nix-installer-action@main
17
+ - uses : cachix/cachix-action@v12
18
+ with :
19
+ name : cspr
20
+ authToken : ' ${{ secrets.CACHIX_AUTH_TOKEN }}'
21
+
22
+ - name : System Info
23
+ run : |
24
+ uname -a
25
+ nix --version
26
+
27
+ - name : format
28
+ if : matrix.os == 'ubuntu-latest'
29
+ run : nix build -L --no-link --show-trace .#checks.x86_64-linux.format
30
+
31
+ - name : cctl (x86_64-linux)
32
+ if : matrix.os == 'ubuntu-latest'
33
+ run : nix build -L --no-link --show-trace .#packages.x86_64-linux.cctl
34
+
35
+ - name : cctl (x86_64-darwin)
36
+ if : matrix.os == 'macos-latest'
37
+ run : nix build -L --no-link --show-trace .#packages.x86_64-darwin.cctl
38
+
39
+ - name : cctl aarch64-darwin
40
+ if : matrix.os == 'macos-14'
41
+ run : nix build -L --no-link --show-trace .#packages.aarch64-darwin.cctl
Original file line number Diff line number Diff line change
1
+ name : pre-check
2
+ on :
3
+ pull_request :
4
+ branches : [main]
5
+
6
+ jobs :
7
+ check-signed-commits :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - name : check signed commits
11
+ uses : 1Password/check-signed-commits-action@v1
You can’t perform that action at this time.
0 commit comments