mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-03 00:00:07 +03:00
04666325d4
- cachix/install-nix-action v22 -> v23 - actions/checkout v3 -> v4 Signed-off-by: Alexander Fougner <fougner89@gmail.com>
22 lines
631 B
YAML
22 lines
631 B
YAML
name: "NixOS-Tests"
|
|
on:
|
|
pull_request:
|
|
push:
|
|
jobs:
|
|
nixos-flake-check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: cachix/install-nix-action@v23
|
|
with:
|
|
extra_nix_config: |
|
|
experimental-features = nix-command flakes
|
|
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
|
- uses: cachix/cachix-action@v12
|
|
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
|
|
- run: nix flake check --print-build-logs
|