Skip to content

Merge pull request #10 from NixOS-CN/dependabot/github_actions/cachix… #25

Merge pull request #10 from NixOS-CN/dependabot/github_actions/cachix…

Merge pull request #10 from NixOS-CN/dependabot/github_actions/cachix… #25

Workflow file for this run

name: "Nix flake check"
on:
pull_request:
push:
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install nix
uses: cachix/install-nix-action@v24
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup cachix
uses: cachix/cachix-action@v13
with:
name: nixos-cn
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: Nix flake check
run: nix flake check --verbose --print-build-logs