Skip to content

migrate store metadata #8926

migrate store metadata

migrate store metadata #8926

name: PR Tests - Linting
on:
workflow_call:
pull_request:
branches:
- "**"
concurrency:
group: linting-${{ github.event_name == 'pull_request' && format('{0}-{1}', github.workflow, github.event.pull_request.number) || github.workflow_ref }}
cancel-in-progress: true
jobs:
pr-tests-linting:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install pip packages
run: |
pip install --upgrade pip uv==0.1.35
uv --version
- name: Get pip cache dir
id: pip-cache
shell: bash
run: |
echo "dir=$(uv cache dir)" >> $GITHUB_OUTPUT
# TODO: change cache key from setup.cfg to something more general
- name: pip cache
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-uv-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}
restore-keys: |
${{ runner.os }}-uv-py${{ matrix.python-version }}-
- name: Install Tox
run: |
pip install --upgrade tox tox-uv==1.5.1
- uses: pre-commit/[email protected]
- name: Check Protocol Version
run: |
tox -e syft.protocol.check