Bump flake inputs #276
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: "build cache" | |
on: | |
pull_request: | |
push: | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 ## not shallow | |
filter: 'blob:none' ## but blob-less | |
submodules: true | |
- uses: cachix/install-nix-action@v22 | |
with: | |
nix_path: nixpkgs=channel:nixpkgs-unstable | |
install_url: https://releases.nixos.org/nix/nix-2.23.3/install | |
extra_nix_config: | | |
experimental-features = nix-command flakes fetch-closure configurable-impure-env | |
impure-env = GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} | |
trusted-users = root runner @wheel | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: chezbryan | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
extraPullNames: nix-community | |
- run: nix config show | |
- run: ./build.sh --dry-run | |
- run: ./build.sh |