Skip to content

Enforce Rio-free contracts in release checks #1168

Enforce Rio-free contracts in release checks

Enforce Rio-free contracts in release checks #1168

Workflow file for this run

name: CI
on:
push:
branches: ["**"]
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.event_name == 'workflow_dispatch' && github.run_id || github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
jobs:
linux:
runs-on: ubuntu-latest
timeout-minutes: 60
defaults:
run:
shell: bash
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v22
with:
determinate: false
extra-conf: |
accept-flake-config = true
max-jobs = 2
cores = 2
- name: Show flake outputs
run: nix flake show --all-systems
- name: Check flake shape
run: nix flake check --no-build
- name: Check Helix-free evaluation
run: |
for package in \
yazelix-no-helix \
yazelix-no-helix-no-yazi; do
nix eval --raw --no-write-lock-file \
--override-input yazelixHelix path:./checks/unavailable-helix \
".#packages.aarch64-darwin.$package.drvPath"
done
- name: Build focused checks
run: |
nix build --no-link --print-build-logs \
.#checks.x86_64-linux.no_helix_contracts \
.#checks.x86_64-linux.host_yazi_contracts \
.#checks.x86_64-linux.desktop_channels \
.#checks.x86_64-linux.yzx_yazi_materialization \
.#checks.x86_64-linux.yzx_launcher_unit \
.#checks.x86_64-linux.rio_contracts \
.#checks.x86_64-linux.no_rio_contracts \
.#checks.x86_64-linux.zellij_sidecar_guard_parity