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

30 lines
778 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
- name: Set up Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.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