Skip to content

Bump jinja2 from 3.1.2 to 3.1.3 (#66) #21

Bump jinja2 from 3.1.2 to 3.1.3 (#66)

Bump jinja2 from 3.1.2 to 3.1.3 (#66) #21

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
run_lints:
name: Run linters
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Python setup
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: 'pip'
- name: Install poetry
run: |
python -m pip install -U poetry
- id: cache-poetry
uses: actions/cache@v3
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cache-poetry.outputs.cache-hit != 'true'
run: |
poetry install
- uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: ${{ runner.os }}-pre_commit-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Pre-commit linters
run: |
poetry run pre-commit run --show-diff-on-failure --color=always --all-files