Skip to content

feat: Updated .github/workflows/main.yml #14

feat: Updated .github/workflows/main.yml

feat: Updated .github/workflows/main.yml #14

Workflow file for this run

name: GitHub Actions
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:

Check failure on line 18 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
python-version: 3.x
with:
python-version: 3.x
- name: Install Poetry
run: |
- name: Add Poetry to PATH
run: echo "$HOME/.poetry/bin" >> $GITHUB_PATH
- name: Install Poetry
run: curl -sSL https://install.python-poetry.org | python3 -
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
- name: Run isort with Poetry
run: ~/.poetry/bin/poetry run isort . --check --diff