]> git.sesse.net Git - bcachefs-tools-debian/blob - .github/workflows/nixos.yml
ci: upgrade to checkout action v3
[bcachefs-tools-debian] / .github / workflows / nixos.yml
1 name: "NixOS-Tests"
2 on:
3   pull_request:
4   push:
5 jobs:
6   nixos-flake-check:
7     runs-on: ubuntu-latest
8     steps:
9     - uses: actions/checkout@v3
10     - uses: cachix/install-nix-action@v22
11       with:
12         extra_nix_config: |
13           experimental-features = nix-command flakes
14           access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
15     - uses: cachix/cachix-action@v12
16       with:
17         name: bcachefs-tools
18         # If you chose API tokens for write access OR if you have a private cache
19         authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
20     - run: nix flake show
21     - run: nix flake check --print-build-logs