build(deps): bump codecov/codecov-action from 4.6.0 to 5.0.4 #802
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
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: lint | |
on: | |
push: | |
branches-ignore: | |
- 'gh-pages' | |
pull_request: | |
branches: [ master, pydantic_v2 ] | |
jobs: | |
lint: | |
name: "Python ${{ matrix.python-version }}" | |
runs-on: ubuntu-latest | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'collerek/ormar' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Install Poetry | |
uses: snok/install-poetry@v1.4 | |
with: | |
version: 1.4.2 | |
virtualenvs-create: false | |
- name: Poetry details | |
run: | | |
poetry --version | |
poetry config --list | |
- name: Install dependencies | |
run: poetry install --extras "all" --no-root | |
- name: Format | |
run: make fmt | |
- name: Lint | |
run: make lint |