Merge pull request #243 from equals03/chore/nix-flake-update #480
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: Nix-Git | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
- name: Set up Magic Nix Cache | |
uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Set up Cachix | |
uses: cachix/cachix-action@v15 | |
with: | |
name: walker-git | |
authToken: '${{ secrets.CACHIX_GIT_AUTH_TOKEN }}' | |
- name: Build default package | |
run: nix build -L --extra-substituters "https://walker-git.cachix.org" .#default |