Skip to content

Rewrite CI to a Modern Standard #99

Rewrite CI to a Modern Standard

Rewrite CI to a Modern Standard #99

Workflow file for this run

name: CI
on:
- push
- pull_request
defaults:
run:
shell: bash
env:
# testing on windows
PYTHONUTF=1

Check failure on line 12 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 12, Col: 3): Unexpected value 'PYTHONUTF=1'
jobs:
format:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- 3.8
steps:
- name: Set up repo
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pipenv
- name: Install dependencies
run: |
set -e
pip install pipenv
pipenv install --dev --deploy
- name: Check formatting with format.sh
run: pipenv run pre-commit run --all-files