Skip to content

Fix apt-get lock held by another process error by retry #122

Fix apt-get lock held by another process error by retry

Fix apt-get lock held by another process error by retry #122

Workflow file for this run

name: Mypy Lint
on:
pull_request
jobs:
mypy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v4
with:
submodules: recursive
# We use tags to determine version, so fetch them
fetch-depth: 0
fetch-tags: true
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install mypy
run: pip install mypy
- name: Perform mypy lint of the pleskdistup package
run: mypy --exclude pleskdistup/common/tests --package pleskdistup
- name: Perform mypy lint of pleskdistup/common/tests
run: MYPYPATH=pleskdistup/common mypy --explicit-package-bases pleskdistup/common/tests