Setup python and make
Some checks failed
Run checks / checks (pull_request) Failing after 6s

This commit is contained in:
Bart van der Braak 2024-11-19 20:04:36 +01:00
parent da6339d74d
commit 4b225b6e61
4 changed files with 19 additions and 12 deletions

View file

@ -1,14 +1,18 @@
name: Run checks
on: [ push, pull_request ]
on:
pull_request:
branches:
- main
jobs:
checks:
runs-on: docker
container.image: ghcr.io/catthehacker/ubuntu:act-22.04
env:
DIRECTORY: config
steps:
- uses: actions/checkout@v4
- run: cd ${{ env.DIRECTORY }}
- run: pip install -r requirements-dev.txt
- run: ruff check
- run: ruff format
- run: myp
- uses: actions/setup-python@v5
with:
python-version: '3.13'
- run: pip install -r requirements.txt
- run: make check