Skip to content

Update dependency google-api-python-client to v2.156.0 #680

Update dependency google-api-python-client to v2.156.0

Update dependency google-api-python-client to v2.156.0 #680

Workflow file for this run

name: "Lint"
on:
pull_request: {}
push:
branches: ["main"]
env:
PYTHON_VERSION: "3.10.1"
jobs:
shfmt:
name: Bash shfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: docker-compose run --rm shfmt
lint:
name: Lint bash and markdown
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: docker-compose run --rm lint
bandit:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install dependencies
uses: ./.github/actions/install-dependencies
with:
requirements: "true"
test-requirements: "true"
- name: Run bandit
run: bandit --ini .bandit -r plugin_scripts tests
black:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install dependencies
uses: ./.github/actions/install-dependencies
with:
requirements: "true"
test-requirements: "true"
- name: Run black
run: black --check plugin_scripts tests
flake8:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install dependencies
uses: ./.github/actions/install-dependencies
with:
requirements: "true"
test-requirements: "true"
- name: Run flake8
run: flake8 plugin_scripts tests
isort:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install dependencies
uses: ./.github/actions/install-dependencies
with:
requirements: "true"
test-requirements: "true"
- name: Run isort
run: isort --profile black --atomic --check-only plugin_scripts tests
mypy:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install dependencies
uses: ./.github/actions/install-dependencies
with:
requirements: "true"
test-requirements: "true"
- name: Run mypy
run: mypy plugin_scripts tests
renovate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: 🧼 lint renovate config # Validates changes to renovate.json config file
uses: suzuki-shunsuke/[email protected]
with:
config_file_path: 'renovate.json'