chore(deps): bump docker/build-push-action in the actions group (#6) #20
This file contains hidden or 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: linters | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
tags: | |
- "[0-9]+.[0-9]+.[0-9]+" | |
- "[0-9]+.[0-9]+.[0-9]+rc[0-9]+" | |
jobs: | |
linters: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code with full history | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: Read .tool-versions | |
uses: marocchino/tool-versions-action@18a164fa2b0db1cc1edf7305fcb17ace36d1c306 # v1.2.0 | |
id: versions | |
- name: Install a specific version of uv | |
uses: astral-sh/setup-uv@f0ec1fc3b38f5e7cd731bb6ce540c5af426746bb # v6.1.0 | |
with: | |
version: "${{ steps.versions.outputs.uv }}" | |
python-version: "${{ steps.versions.outputs.python }}" | |
enable-cache: true | |
- name: Install dependencies | |
run: uv sync --frozen | |
- name: Lint with Ruff | |
run: uv run ruff check --output-format=github . | |
continue-on-error: false | |
- name: Check formatting with Ruff | |
run: uv run ruff format --check . | |
continue-on-error: false | |
- name: Type checking on src with Pyright | |
run: uv run pyright ./src | |
continue-on-error: false |