Skip to content

🐛 fix deprecated usage #14

🐛 fix deprecated usage

🐛 fix deprecated usage #14

Workflow file for this run

name: "Lint"
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
permissions:
actions: write
contents: write
jobs:
tests:
name: "Python ${{ matrix.python-version }}"
runs-on: "ubuntu-latest"
strategy:
matrix:
python-version: ["3.12", "3.13"]
steps:
- uses: "actions/checkout@v4"
with:
fetch-depth: 0
- name: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- uses: "actions/setup-python@v5"
with:
python-version: "${{ matrix.python-version }}"
- name: "Install tox"
run: |
python -m pip install --upgrade tox tox-gh-actions
- name: "Run tox targets for ${{ matrix.python-version }}"
run: python -m tox
- name: Bump version using semantic-release
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}