Fix apt-get lock held by another process error by retry #123
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |