Skip to content

Bump pip from 21.2.4 to 23.3 #404

Bump pip from 21.2.4 to 23.3

Bump pip from 21.2.4 to 23.3 #404

Workflow file for this run

name: "lint"
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Install Python 3.9
uses: actions/setup-python@v3
with:
python-version: '3.9'
cache: 'pip'
cache-dependency-path: 'dev-requirements.txt'
- name: Install Python dependencies
run: pip install -r dev-requirements.txt
- name: Install linters
run: |
sudo apt install jsonlint shellcheck
- name: jsonlint-php th/data.json
run: jsonlint-php $GITHUB_WORKSPACE/th/data.json
- name: format python files
run: |
black --check $(git ls-files "*.py")
- name: typecheck python files
run: |
pyright $(git ls-files "*.py")
- name: shellcheck
run: |
shellcheck --version
./scripts/shellcheck.sh
- name: import qualification
run: |
./scripts/check-imports.sh