Skip to content

ci: re-enable nix job build, add caching, refactor #9

ci: re-enable nix job build, add caching, refactor

ci: re-enable nix job build, add caching, refactor #9

Workflow file for this run

name: "Build"
on:
workflow_dispatch:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix flake check --print-build-logs --keep-going
check-no-default-features:
uses: ./.github/actions/rust-env

Check failure on line 22 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

invalid value workflow reference: no version specified
steps:
- run: cargo check --no-default-features
check-debug-feature:
uses: ./.github/actions/rust-env
steps:
- run: cargo check --features debug
check-profile-with-tracy-feature:
uses: ./.github/actions/rust-env
steps:
- run: cargo check --features profile-with-tracy