Skip to content

Update workflows

Update workflows #4

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- uses: actions/cache@v4
id: cache
with:
path: ${{ env.pythonLocation }}
key: ${{ runner.os }}-python-${{ env.pythonLocation }}-lint
- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: pip install Pillow ruff
- name: Lint
run: |
ruff check . --target-version py38