build(nix): update dependencies #1981
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: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
check: | |
name: "nix flake check" | |
strategy: | |
matrix: | |
platform: | |
- host: macos-latest | |
- host: ubuntu-latest | |
runs-on: ${{ matrix.platform.host }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/install-nix | |
with: | |
cachixAuthToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- name: Set Swap Space | |
if: ${{ runner.os == 'Linux' }} | |
uses: pierotofy/[email protected] | |
with: | |
swap-size-gb: 10 | |
- name: Free Disk Space | |
if: ${{ runner.os == 'Linux' }} | |
uses: jlumbroso/[email protected] | |
with: | |
tool-cache: false | |
- run: nix flake check -L --show-trace | |
continue-on-error: ${{ runner.os == 'macOS' }} |