Files
yt-dlp/.github/workflows/test-workflows.yml
bashonly 22ea0688ed
Some checks failed
CodeQL / Analyze (python) (push) Has been cancelled
Core Tests / Core Tests (ubuntu-latest, 3.10) (push) Has been cancelled
Core Tests / Core Tests (ubuntu-latest, 3.11) (push) Has been cancelled
Core Tests / Core Tests (ubuntu-latest, 3.12) (push) Has been cancelled
Core Tests / Core Tests (ubuntu-latest, 3.13) (push) Has been cancelled
Core Tests / Core Tests (ubuntu-latest, pypy-3.11) (push) Has been cancelled
Core Tests / Core Tests (windows-latest, 3.10) (push) Has been cancelled
Core Tests / Core Tests (windows-latest, 3.12) (push) Has been cancelled
Core Tests / Core Tests (windows-latest, 3.13) (push) Has been cancelled
Core Tests / Core Tests (windows-latest, 3.9) (push) Has been cancelled
Core Tests / Core Tests (windows-latest, pypy-3.11) (push) Has been cancelled
Download Tests / Quick Download Tests (push) Has been cancelled
Download Tests / Full Download Tests (ubuntu-latest, 3.10) (push) Has been cancelled
Download Tests / Full Download Tests (ubuntu-latest, 3.11) (push) Has been cancelled
Download Tests / Full Download Tests (ubuntu-latest, 3.12) (push) Has been cancelled
Download Tests / Full Download Tests (ubuntu-latest, 3.13) (push) Has been cancelled
Download Tests / Full Download Tests (ubuntu-latest, pypy-3.11) (push) Has been cancelled
Download Tests / Full Download Tests (windows-latest, 3.9) (push) Has been cancelled
Download Tests / Full Download Tests (windows-latest, pypy-3.11) (push) Has been cancelled
Quick Test / Core Test (push) Has been cancelled
Quick Test / Code check (push) Has been cancelled
Release (master) / release (push) Has been cancelled
Release (master) / publish_pypi (push) Has been cancelled
Signature Tests / Signature Tests (ubuntu-latest, 3.10) (push) Has been cancelled
Signature Tests / Signature Tests (ubuntu-latest, 3.11) (push) Has been cancelled
Signature Tests / Signature Tests (ubuntu-latest, 3.12) (push) Has been cancelled
Signature Tests / Signature Tests (ubuntu-latest, 3.13) (push) Has been cancelled
Signature Tests / Signature Tests (ubuntu-latest, 3.9) (push) Has been cancelled
Signature Tests / Signature Tests (ubuntu-latest, pypy-3.11) (push) Has been cancelled
Signature Tests / Signature Tests (windows-latest, 3.10) (push) Has been cancelled
Signature Tests / Signature Tests (windows-latest, 3.11) (push) Has been cancelled
Signature Tests / Signature Tests (windows-latest, 3.12) (push) Has been cancelled
Signature Tests / Signature Tests (windows-latest, 3.13) (push) Has been cancelled
Signature Tests / Signature Tests (windows-latest, 3.9) (push) Has been cancelled
Signature Tests / Signature Tests (windows-latest, pypy-3.11) (push) Has been cancelled
Test and lint workflows / Check workflows (push) Has been cancelled
Keep cache warm / build (push) Has been cancelled
[ci] Bump actions/setup-python to v6 (#14282)
Authored by: bashonly
2025-09-10 21:29:12 +00:00

47 lines
1.5 KiB
YAML

name: Test and lint workflows
on:
push:
paths:
- .github/workflows/*
- devscripts/setup_variables.py
- devscripts/setup_variables_tests.py
- devscripts/utils.py
pull_request:
paths:
- .github/workflows/*
- devscripts/setup_variables.py
- devscripts/setup_variables_tests.py
- devscripts/utils.py
permissions:
contents: read
env:
ACTIONLINT_VERSION: "1.7.7"
ACTIONLINT_SHA256SUM: 023070a287cd8cccd71515fedc843f1985bf96c436b7effaecce67290e7e0757
ACTIONLINT_REPO: https://github.com/rhysd/actionlint
jobs:
check:
name: Check workflows
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v6
with:
python-version: "3.10" # Keep this in sync with release.yml's prepare job
- name: Install requirements
env:
ACTIONLINT_TARBALL: ${{ format('actionlint_{0}_linux_amd64.tar.gz', env.ACTIONLINT_VERSION) }}
run: |
sudo apt -y install shellcheck
python -m pip install -U pyflakes
curl -LO "${ACTIONLINT_REPO}/releases/download/v${ACTIONLINT_VERSION}/${ACTIONLINT_TARBALL}"
printf '%s %s' "${ACTIONLINT_SHA256SUM}" "${ACTIONLINT_TARBALL}" | sha256sum -c -
tar xvzf "${ACTIONLINT_TARBALL}" actionlint
chmod +x actionlint
- name: Run actionlint
run: |
./actionlint -color
- name: Test GHA devscripts
run: |
python -m devscripts.setup_variables_tests