❄️ #621
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/NixOS/nixos-artwork/blob/35ebbbf01c3119005ed180726c388a01d4d1100c/logo/README.md#L5 | |
name: ❄️ | |
on: | |
push: | |
branches: [main] | |
paths: | |
- '.github/workflows/ci-nix.yml' | |
- '**.nix' | |
- 'flake.*' | |
- 'Taskfile.yml' | |
pull_request: | |
paths: | |
- '.github/workflows/ci-nix.yml' | |
- '**.nix' | |
- 'flake.*' | |
- 'Taskfile.yml' | |
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: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-24.04 | |
# - macos-14 | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@b92f66560d6f97d6576405a7bae901ab57e72b6a # v15 | |
- run: nix develop --command echo 'This step should be done before any other "nix develop" steps because of measuring Nix build time' | |
- run: nix flake check | |
- run: nix flake show | |
- run: nix develop --command task deps | |
- run: nix develop --command task check | |
# - run: nix run . -- --version |