File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 - ' flake.lock'
1313
1414jobs :
15- check :
16- runs-on : ubuntu-latest
15+ ci :
16+ runs-on : self-hosted
1717 steps :
18- - uses : actions/checkout@v6
19- - name : Install Nix
20- uses : nixbuild/nix-quick-install-action@v34
21- with :
22- nix_conf : experimental-features = nix-command flakes repl-flake
23- - uses : cachix/cachix-action@v17
24- with :
25- name : ossystems-lab
26- authToken : ${{ secrets.CACHIX_AUTH_TOKEN }}
27- - name : Install SSH Private Key
28- uses : webfactory/ssh-agent@v0.10.0
29- with :
30- ssh-private-key : ${{ secrets.SSH_PRIVATE_KEY }}
31- - run : nix flake check
32-
33- nixos :
34- runs-on : ubuntu-latest
35- strategy :
36- matrix :
37- nixosConfiguration :
38- - centrium
39- - hyper
40- - pikachu
41- steps :
42- - run : sudo apt-get clean
43- - uses : actions/checkout@v6
44- - name : Install Nix
45- uses : nixbuild/nix-quick-install-action@v34
46- with :
47- nix_conf : experimental-features = nix-command flakes repl-flake
48- - uses : cachix/cachix-action@v17
49- with :
50- name : ossystems-lab
51- authToken : ${{ secrets.CACHIX_AUTH_TOKEN }}
52- - name : Install SSH Private Key
53- uses : webfactory/ssh-agent@v0.10.0
54- with :
55- ssh-private-key : ${{ secrets.SSH_PRIVATE_KEY }}
56- - run : nix -Lv build ".#nixosConfigurations.${{ matrix.nixosConfiguration }}.config.system.build.toplevel"
18+ - uses : ossystems/nix-actions@v1
19+ with :
20+ checks : true
21+ ssh-private-key : ${{ secrets.SSH_PRIVATE_KEY }}
Original file line number Diff line number Diff line change 66
77jobs :
88 lockfile :
9- runs-on : ubuntu-latest
9+ runs-on : self-hosted
10+ permissions :
11+ contents : write
12+ pull-requests : write
1013 steps :
11- - name : Checkout repository
12- uses : actions/checkout@v6
13- - name : Install Nix
14- uses : nixbuild/nix-quick-install-action@v34
14+ - uses : ossystems/nix-actions/update-flake@v1
1515 with :
16- nix_conf : experimental-features = nix-command flakes repl-flake
17- - name : Update flake.lock
18- id : update
19- uses : DeterminateSystems/update-flake-lock@v28
20- with :
21- token : ${{ secrets.GH_TOKEN_FOR_UPDATES }}
22- - name : Print PR number
23- run : echo Pull request number is ${{ steps.update.outputs.pull-request-number }}.
16+ base-branch : master
You can’t perform that action at this time.
0 commit comments