Skip to content

security: harden encoder log redaction #7

security: harden encoder log redaction

security: harden encoder log redaction #7

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
python:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.11"
- "3.12"
- "3.13"
steps:
- name: Check out repository
uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install development tools
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements-dev.txt
- name: Run Ruff
run: ruff check .
- name: Compile scripts
run: python -m py_compile bin/youtube-autoencoder bin/youtube-autoencoder-api bin/youtube-autoencoder-test-pattern
- name: Run tests
run: pytest -q
- name: Verify executable scripts
run: |
test -x bin/youtube-autoencoder
test -x bin/youtube-autoencoder-api
test -x bin/youtube-autoencoder-test-pattern
- name: Verify systemd units
run: |
sudo install -m 0755 bin/youtube-autoencoder /usr/local/bin/youtube-autoencoder
systemd-analyze verify systemd/youtube-autoencoder@.service systemd/user/youtube-autoencoder.service
repository-metadata:
name: Repository Metadata
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v7
- name: Lint Markdown
uses: DavidAnson/markdownlint-cli2-action@v24
with:
globs: |
**/*.md
- name: Lint GitHub Actions workflows
uses: rhysd/actionlint@v1.7.12