What:
- bump actions/checkout from v4 to v6 in CI and yolo workflows
- bump DeterminateSystems/nix-installer-action from v13 to v22
Why:
- remove Node 20 action runtime warnings before GitHub's Node 24 migration window
- keep the packaging pipelines on maintained action runtimes
Tests:
- ruby -e 'require "yaml"; YAML.load_file(".github/workflows/ci.yml"); YAML.load_file(".github/workflows/yolo-update.yml")'
- git diff --check
53 lines
1.3 KiB
YAML
53 lines
1.3 KiB
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [ main ]
|
|
workflow_dispatch: {}
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
linux:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 60
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Verify flake.lock owners
|
|
run: scripts/check-flake-lock-owners.sh
|
|
|
|
- name: Install Nix
|
|
uses: cachix/install-nix-action@v31
|
|
|
|
- name: Run Linux CI aggregator
|
|
run: timeout --foreground 50m nix build .#checks.x86_64-linux.ci --accept-flake-config
|
|
|
|
- name: Dump failing source check log
|
|
if: failure()
|
|
run: |
|
|
drv="$(nix eval --raw .#checks.x86_64-linux.source-checks.drvPath --accept-flake-config)"
|
|
nix log "$drv" | tail -n 400 || true
|
|
|
|
macos:
|
|
runs-on: macos-14
|
|
timeout-minutes: 40
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Install Nix
|
|
uses: DeterminateSystems/nix-installer-action@v22
|
|
|
|
- name: Build Darwin CI aggregator
|
|
timeout-minutes: 25
|
|
run: nix build .#checks.aarch64-darwin.ci --accept-flake-config
|
|
|
|
- name: Run HM activation
|
|
timeout-minutes: 10
|
|
run: scripts/hm-activation-macos.sh
|