From 8ffbc1989bf6b599c6647c30253491f32163d4b7 Mon Sep 17 00:00:00 2001 From: Wyatt Stanke Date: Fri, 12 Apr 2024 15:39:17 -0400 Subject: [PATCH] Update linting workflows --- .github/workflows/lint.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index dd5f5f5b..e5d3c875 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,24 +6,22 @@ jobs: yaml-lint: runs-on: ubuntu-latest steps: - - name: Check out source repository - uses: actions/checkout@v4 - - name: yaml Lint - uses: ibiqlik/action-yamllint@v3 + - uses: actions/checkout@v4 + - uses: ./.github/library/setup + - run: poetry run yamllint . flake8-lint: runs-on: ubuntu-latest name: flake8 Lint steps: - - name: Check out source repository - uses: actions/checkout@v4 - - name: Set up Python environment - uses: py-actions/flake8@v2 + - uses: actions/checkout@v4 + - uses: ./.github/library/setup + - run: poetry run flake8 . ruff-lint: runs-on: ubuntu-latest name: ruff Lint steps: - uses: actions/checkout@v4 - uses: ./.github/library/setup - - run: ruff format . - - run: ruff --fix . + - run: poetry run ruff format . + - run: poetry run ruff --fix . # - uses: autofix-ci/action@d3e591514b99d0fca6779455ff8338516663f7cc