Skip to content

Sync action pins #10824

Sync action pins

Sync action pins #10824

Workflow file for this run

---
name: 馃┖ Debug
"on":
workflow_call:
workflow_dispatch:
push:
branches:
- main
paths:
- .github/workflows/debug.yaml
schedule:
# Run monthly on the 1st at 12:00 UTC to spot silent regressions.
- cron: "0 12 1 * *"
permissions: {}
concurrency:
group: >-
${{ github.workflow }}-${{
github.event.pull_request.number
|| github.ref
}}
cancel-in-progress: >-
${{ !startsWith(github.event.head_commit.message,
'[changelog] Release') }}
jobs:
metadata:
name: 馃К Project metadata
runs-on: ubuntu-slim
outputs:
build_targets: ${{ steps.extend-matrix.outputs.targets }}
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: astral-sh/setup-uv@f98e06938123ccabd21905ea5d0069192241f9f1 # v8.3.1
- name: Run repomatic metadata
id: metadata
run: >
uvx --no-progress --from . repomatic --verbosity DEBUG metadata
--format github-json --output "$GITHUB_OUTPUT"
build_targets
- name: Extend matrix with ubuntu-slim
id: extend-matrix
env:
METADATA: ${{ steps.metadata.outputs.metadata }}
run: |
targets=$(echo "${METADATA}" | jq -c '(.build_targets | fromjson) + [{"os":"ubuntu-slim"}]')
echo "targets=$targets" >> "$GITHUB_OUTPUT"
dump-context:
name: 馃┖ ${{ matrix.os }} info dump
needs:
- metadata
if: needs.metadata.outputs.build_targets
strategy:
# Info-gathering matrix: see docs/workflows.md "Matrix fail-fast strategy".
fail-fast: false
matrix:
include: ${{ fromJSON(needs.metadata.outputs.build_targets) }}
runs-on: ${{ matrix.os }}
steps:
- uses: crazy-max/ghaction-dump-context@4d9eeaf15dd59aa4346919ea84a84ccf514b4db8 # v3.1.0
- uses: astral-sh/setup-uv@f98e06938123ccabd21905ea5d0069192241f9f1 # v8.3.1
- run: uvx --no-progress 'extra-platforms==13.0.1'