2021-10-18 21:21:38 +03:00
|
|
|
name: "NixOS-Tests"
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
jobs:
|
|
|
|
nixos-flake-check:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-11-06 21:52:05 +03:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: cachix/install-nix-action@v23
|
2021-10-18 21:21:38 +03:00
|
|
|
with:
|
|
|
|
extra_nix_config: |
|
|
|
|
experimental-features = nix-command flakes
|
|
|
|
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
2023-06-18 15:14:49 +03:00
|
|
|
- uses: cachix/cachix-action@v12
|
2021-10-18 21:21:38 +03:00
|
|
|
with:
|
|
|
|
name: bcachefs-tools
|
|
|
|
# If you chose API tokens for write access OR if you have a private cache
|
|
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
|
|
|
- run: nix flake show
|
2023-06-18 15:14:49 +03:00
|
|
|
- run: nix flake check --print-build-logs
|