Skip to content

Bump actions/checkout from 4 to 6 #20

Bump actions/checkout from 4 to 6

Bump actions/checkout from 4 to 6 #20

Workflow file for this run

name: Lint and Format with Ruff
on:
push:
pull_request:
branches:
- main
jobs:
lint-and-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Build Docker image
run: docker build --target hatch -t myapp:hatch .
- name: Check formatting with Ruff
run: docker run --rm -e HATCH_ENV=lint -v "${{ github.workspace }}:/app" myapp:hatch format-check
- name: Run Ruff linter
run: docker run --rm -e HATCH_ENV=lint -v "${{ github.workspace }}:/app" myapp:hatch check