Merge pull request #47 from kiwix/protonvpn-wireguard-config-downloader #4
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: ProtonVPN Wireguard Config Downloader QA | |
on: | |
pull_request: | |
push: | |
paths: | |
- 'protonvpn-wireguard-config-downloader/**' | |
branches: | |
- main | |
jobs: | |
check-qa: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version-file: protonvpn-wireguard-config-downloader/pyproject.toml | |
architecture: x64 | |
- name: Install dependencies (and project) | |
working-directory: protonvpn-wireguard-config-downloader | |
run: | | |
pip install -U pip | |
pip install -e .[lint,scripts,test,check] | |
- name: Check black formatting | |
working-directory: protonvpn-wireguard-config-downloader | |
run: inv lint-black | |
- name: Check ruff | |
working-directory: protonvpn-wireguard-config-downloader | |
run: inv lint-ruff | |
- name: Check pyright | |
working-directory: protonvpn-wireguard-config-downloader | |
run: inv check-pyright |