| 1 |
on: |
| 2 |
push: |
| 3 |
pull_request: |
| 4 |
merge_group: |
| 5 |
schedule: |
| 6 |
- cron: '0 18 * * *' |
| 7 |
|
| 8 |
name: Nix |
| 9 |
permissions: |
| 10 |
contents: read |
| 11 |
|
| 12 |
jobs: |
| 13 |
flake: |
| 14 |
name: Nix Flake |
| 15 |
runs-on: ubuntu-latest |
| 16 |
steps: |
| 17 |
- uses: actions/checkout@v4 |
| 18 |
with: |
| 19 |
persist-credentials: false |
| 20 |
|
| 21 |
- name: Install Nix |
| 22 |
uses: DeterminateSystems/nix-installer-action@main |
| 23 |
|
| 24 |
- name: Setup Nix Caching |
| 25 |
uses: DeterminateSystems/flakehub-cache-action@main |
| 26 |
|
| 27 |
- name: Check Flake & Outputs |
| 28 |
run: nix flake check --all-systems |
| 29 |
|
| 30 |
- name: Build default package |
| 31 |
run: nix build .# |
| 32 |
|
| 33 |
- name: Build debug package |
| 34 |
run: nix build .#rustls-platform-verifier-dbg |