This repository was archived by the owner on May 3, 2024. It is now read-only.
Merge pull request #71 from timhae/gh-actions-update-1712453003 #232
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: "test" | |
on: | |
pull_request: | |
push: | |
branches: | |
- "main" | |
jobs: | |
build-and-check: | |
strategy: | |
matrix: | |
os: [ubuntu-22.04] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/[email protected] | |
- uses: cachix/install-nix-action@v26 | |
with: | |
nix_path: nixpkgs=channel:nixos-22.11 | |
extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm" | |
- uses: cachix/cachix-action@v14 | |
with: | |
name: timhae-firefly | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
- run: nix build | |
- run: nix flake check |