chore(deps): update dependency environs to v14.1.1 #89
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: On pull request | |
on: | |
pull_request: | |
branches: ["main"] | |
env: | |
DEFAULT_PYTHON: 3.9 | |
jobs: | |
python_checks: | |
runs-on: ubuntu-latest | |
name: Python Checks | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v4 | |
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | |
uses: actions/setup-python@v5.4.0 | |
with: | |
python-version: ${{ env.DEFAULT_PYTHON }} | |
- name: Install requirements | |
run: | | |
python3 -m pip install -U pip | |
python3 -m pip install -r requirements.txt | |
python3 -m pip install ruff | |
- name: Check formatting | |
run: | | |
ruff format --check --diff app | |
- name: Check lint | |
run: | | |
ruff check app | |
build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build test | |
uses: docker/build-push-action@v6 | |
with: | |
push: false | |
context: . | |
platforms: linux/amd64,linux/arm64,linux/arm/v7 |