Skip to content

πŸ‘· uv + taskfile #89

πŸ‘· uv + taskfile

πŸ‘· uv + taskfile #89

Workflow file for this run

name: Lint
on:
pull_request:
branches: ["**"]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: lint
uses: juftin/actions/taskfile@v1
continue-on-error: true
with:
checkout: true
setup-uv: true
task: lint
install: true
github-token: ${{ secrets.GITHUB_TOKEN }}
annotations-ruff: true
- name: check
uses: juftin/actions/taskfile@v1
continue-on-error: true
with:
task: check
setup-task: false
annotations-mypy: true
- name: Raise Errors For Failures
if: |
steps.lint.outcome != 'success' || steps.check.outcome != 'success'
run: |
echo "Lint: ${{ steps.lint.outcome }}"
echo "Check: ${{ steps.check.outcome }}"
exit 1