fix: cargo binstall config (#2112) #2138
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
# Verify the Nix build is working | |
# Failures will usually occur due to an out of date Rust version | |
# That can be updated to the latest version in nixpkgs-unstable with `nix flake update` | |
name: Nix | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: cachix/install-nix-action@v20 | |
- name: Run nix flake check | |
run: nix flake check --print-build-logs | |
build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: cachix/install-nix-action@v20 | |
- name: Run nix build | |
run: nix build --print-build-logs |