darwin/nix: add nix/store to sandbox paths #2827
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: Check | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
checks: | |
name: Check expressions on ${{ matrix.arch }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
arch: [x86_64-linux, aarch64-darwin] | |
if: github.ref == 'refs/heads/main' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check Nix flake inputs | |
uses: DeterminateSystems/flake-checker-action@v9 | |
# - uses: cachix/install-nix-action@v23 | |
# with: | |
# install_url: https://nixos.org/nix/install | |
# extra_nix_config: | | |
# auto-optimise-store = true | |
# access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
# experimental-features = nix-command flakes | |
# system = ${{ matrix.arch }} | |
# - uses: cachix/cachix-action@v12 | |
# with: | |
# name: khanelinix | |
# authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
# - name: clear hostedtoolcache | |
# run: rm -rf /opt/hostedtoolcache | |
# - name: run flake check | |
# run: nix flake check --system ${{ matrix.arch }} |