Skip to content

bump: jetpack-nixos #817

bump: jetpack-nixos

bump: jetpack-nixos #817

Workflow file for this run

# SPDX-FileCopyrightText: 2022-2025 TII (SSRC) and the Ghaf contributors
#
# SPDX-License-Identifier: Apache-2.0
name: eval
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
eval:
runs-on: ubuntu-latest
timeout-minutes: 360
strategy:
matrix:
include:
- jobid: 0
- jobid: 1
- jobid: 2
- jobid: 3
- jobid: 4
- jobid: 5
- jobid: 6
- jobid: 7
concurrency:
# Cancel any in-progress workflow runs from the same PR or branch,
# allowing matrix jobs to run concurrently:
group: ${{ github.workflow }}.${{ github.event.pull_request.number || github.ref }}.${{ matrix.jobid }}
cancel-in-progress: true
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{ github.event.pull_request.merge.sha || github.ref }}
fetch-depth: 0
- name: Install nix
uses: cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
- name: Evaluate (jobid=${{ matrix.jobid }})
run: |
echo "strategy.job-total: ${{ strategy.job-total }}"
echo "matrix.jobid: ${{ matrix.jobid }}"
nix develop --command .github/eval.sh -t '(devShells\.|packages\.)' -j ${{ matrix.jobid }} -m ${{ strategy.job-total }}