Skip to content

Set up CI.

Set up CI. #1

Workflow file for this run

name: Style
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
lack:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
allow-prereleases: true
- name: Install dependencies
run: |
pip3 install lack
- name: Check by `lack`
run: |
lack --check --diff .
jobs:

Check failure on line 27 in .github/workflows/style.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/style.yml

Invalid workflow file

You have an error in your yaml syntax on line 27
isort:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
allow-prereleases: true
- name: Install dependencies
run: |
pip3 install isort
- name: Check by `isort`
run: |
isort --check --diff .