Skip to content

ci: keep rust-complex up-to-date #1970

ci: keep rust-complex up-to-date

ci: keep rust-complex up-to-date #1970

Workflow file for this run

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/set-swap-space@v1.0
with:
swap-size-gb: 10
- name: Free Disk Space
if: ${{ runner.os == 'Linux' }}
uses: jlumbroso/free-disk-space@v1.3.1
with:
tool-cache: false
- run: nix flake check -L --show-trace
continue-on-error: ${{ runner.os == 'macOS' }}