Skip to content

fix(build/builtin): properly auto-detect modules #926

fix(build/builtin): properly auto-detect modules

fix(build/builtin): properly auto-detect modules #926

Workflow file for this run

---
name: "Nix build"
on:
pull_request:
push:
branches: [ master ]
jobs:
build:
name: ${{ matrix.job.target }}
runs-on: ${{ matrix.job.os }}
permissions:
id-token: "write"
contents: "read"
strategy:
fail-fast: false
matrix:
job:
- { os: ubuntu-20.04, target: x86_64-linux }
- { os: macos-13, target: x86_64-darwin }
- { os: macos-14, target: aarch64-darwin }
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Checks
run: nix build ".#checks.${{matrix.job.target}}.git-hooks-check" --accept-flake-config --log-lines 500
if: ${{ matrix.job.target == 'x86_64-linux' }}
shell: bash
- name: Tests
run: nix build ".#checks.${{matrix.job.target}}.tests" --accept-flake-config --log-lines 500
shell: bash
- name: Build devShell
run: nix build ".#devShells.${{matrix.job.target}}.default" --accept-flake-config --log-lines 500
shell: bash