Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

CI - Nix

CI - Nix #404

Workflow file for this run

name: CI - Nix
on:
push:
branches: [main]
paths:
- '.github/workflows/ci-nix.yml'
- '*.nix'
- 'flake.*'
- 'Makefile.toml'
pull_request:
paths:
- '.github/workflows/ci-nix.yml'
- '*.nix'
- 'flake.*'
- 'Makefile.toml'
schedule:
# Every 10:42 JST
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: '42 1 * * *'
workflow_dispatch:
jobs:
tasks:
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: DeterminateSystems/nix-installer-action@v13
- uses: DeterminateSystems/magic-nix-cache-action@v7
- run: nix flake check
- run: nix develop --command echo 'This step should be done before any other "nix develop" steps because of measuring Nix build time'
- run: nix develop --command makers deps
- run: nix develop --command makers setup
- run: nix develop --command makers check