python-tuf/.github/workflows/_test_sslib_main.yml

32 lines
829 B
YAML

on:
workflow_call:
# Permissions inherited from caller workflow
permissions: {}
jobs:
sslib-main:
name: Test securesystemslib main branch (not a merge blocker)
runs-on: ubuntu-latest
steps:
- name: Checkout TUF
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
with:
python-version: '3.x'
cache: 'pip'
cache-dependency-path: |
requirements/*.txt
pyproject.toml
- name: Install dependencies
run: |
python3 -m pip install --constraint requirements/build.txt tox
- name: Run tox
run: tox -e with-sslib-main