Skip to content

ci: Add a workflow to run all check workflows #78

ci: Add a workflow to run all check workflows

ci: Add a workflow to run all check workflows #78

Workflow file for this run

name: Check minimal
on:
push:
paths:
# Set this to the directory of the template
- minimal/**
- .github/workflows/check-minimal.yml
workflow_dispatch:
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: cachix/install-nix-action@v26
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
with:
path: ./tmp
- run: nix flake new -t ./tmp#minimal ./work
- name: Prepare the project
working-directory: work
run: |
git init
git add .
# Run any task to check your flake
- run: nix build '.#hello' -L
working-directory: work