Release workflow (#29) #41
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: linting | ||
| on: | ||
| push: | ||
| branches: [master] | ||
| pull_request: | ||
| branches: [master] | ||
| workflow_dispatch: | ||
| # TODO: setup linting with uv/ruff | ||
| # informed by testing.yml and https://medium.com/@sidharthvijayakumar7/automating-pylint-in-github-workflow-80c84b2ff243 and ruff documentation | ||
| jobs: | ||
| linting: | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Install uv and set up the python version | ||
| uses: astral-sh/setup-uv@v6 | ||
| with: | ||
| python-version: '3.12' | ||
| version: "latest" | ||
| - name: Analyzing the code with ruff | ||
| run: uvx ruff check --output-format=github | ||