Skeleton dev #401
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: Lint and Format | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: master | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# Allows other workflows to trigger this workflow | |
workflow_call: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
id: setup-uv | |
uses: astral-sh/setup-uv@v2 | |
with: | |
version: "0.5.2" | |
- name: Set up environment | |
run: uv sync --python 3.11 | |
- name: Run format checks | |
run: uvx --from poethepoet poe lint |