build(deps): bump httpx from 0.27.2 to 0.28.1 #582
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: process_pull_request | |
on: | |
push: | |
branches: [main] | |
pull_request: null | |
env: | |
REPO: ${{ github.repository }} | |
jobs: | |
ruff_linter: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: build linters | |
env: | |
TAG: ghcr.io/${{ env.REPO }}_linters:latest | |
NEW_TAG: linter | |
run: docker build --target=runtime -f .docker/lint.Dockerfile . -t $NEW_TAG --cache-to type=gha,mode=max --cache-from $TAG --build-arg BUILDKIT_INLINE_CACHE=1 | |
- name: Run linters | |
env: | |
NEW_TAG: linter | |
run: docker run $NEW_TAG ruff check --output-format=github . | |
ruff_format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: build linters | |
env: | |
TAG: ghcr.io/${{ env.REPO }}_linters:latest | |
NEW_TAG: linter | |
run: docker build --target=runtime -f .docker/lint.Dockerfile . -t $NEW_TAG --cache-to type=gha,mode=max --cache-from $TAG --build-arg BUILDKIT_INLINE_CACHE=1 | |
- name: Run linters | |
env: | |
NEW_TAG: linter | |
run: docker run $NEW_TAG ruff format --check | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: build linters | |
env: | |
TAG: ghcr.io/${{ env.REPO }}_linters:latest | |
NEW_TAG: linter | |
run: docker build --target=runtime -f .docker/lint.Dockerfile . -t $NEW_TAG --cache-to type=gha,mode=max --cache-from $TAG --build-arg BUILDKIT_INLINE_CACHE=1 | |
- name: Run linters | |
env: | |
NEW_TAG: linter | |
run: docker run $NEW_TAG mypy . | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: build tests | |
env: | |
CACHE: ghcr.io/${{ env.REPO }}_test:latest | |
TAG: tests | |
run: docker build --target=runtime -f .docker/test.Dockerfile . -t $TAG --cache-to type=gha,mode=max --cache-from $CACHE --build-arg BUILDKIT_INLINE_CACHE=1 | |
- name: Run tests | |
env: | |
TAG: tests | |
run: docker compose -f docker-compose.remote.test.yml up --no-log-prefix --attach md-test --exit-code-from md-test |