Bump google-resumable-media from 2.4.0 to 2.7.2 #1129
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: "Lint" | |
on: | |
pull_request: {} | |
push: | |
branches: ["main"] | |
env: | |
PYTHON_VERSION: "3.10.6" | |
jobs: | |
shfmt: | |
name: Bash shfmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3 | |
- run: docker compose run --rm shfmt | |
lint: | |
name: Lint bash and markdown | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3 | |
- run: docker compose run --rm lint | |
bandit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3 | |
- uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # 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@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3 | |
- name: Set up Python | |
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # 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@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3 | |
- uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # 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@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3 | |
- uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # 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 --recursive --check-only plugin_scripts tests | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3 | |
- uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # 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 --ignore-missing-imports plugin_scripts/deploy.py tests/test_deploy.py |