ci: Add aarch64-linux to extra-platforms #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | ||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
jobs: | ||
test: | ||
name: nix flake check | ||
runs-on: ubuntu-latest | ||
with: | ||
extra_nix_config: "extra-platforms = aarch64-linux" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: cachix/install-nix-action@v27 | ||
- run: nix flake check | ||
format: | ||
name: nix fmt -- --check **/*.nix | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: cachix/install-nix-action@v27 | ||
- run: nix fmt -- --check **/*.nix | ||
example: | ||
name: nix flake check ./example | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: cachix/install-nix-action@v27 | ||
- run: cp ./hardware/laptop.nix ./example/hardware-configuration.nix | ||
- run: git add . | ||
- run: nix flake check ./example --no-write-lock-file --override-input nix-config "git+file://$(pwd | sed -e 's/\s/%20/g')?shallow=1" |