update flake inputs #359
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: | |
workflow_dispatch: | |
push: | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Set up QEMU for running tests | |
uses: docker/setup-qemu-action@v3 | |
- name: Install Nix | |
uses: cachix/install-nix-action@7ac1ec25491415c381d9b62f0657c7a028df52a7 # v24 | |
with: | |
install_url: "https://releases.nixos.org/nix/nix-2.13.3/install" | |
nix_path: nixpkgs=channel:nixos-unstable | |
extra_nix_config: "system-features = nixos-test kvm" | |
- name: Configure binary cache | |
uses: cachix/cachix-action@v13 | |
with: | |
name: nixos-vfio | |
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
- name: Flake check | |
run: nix flake check |