From 0fe29ccaa77b7da6e03c59afec6ac818a7fa7a2d Mon Sep 17 00:00:00 2001 From: Laura Wrubel Date: Tue, 2 Jul 2024 17:06:19 -0400 Subject: [PATCH] Ruff lint and format as separate steps --- .github/workflows/test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bcce0cb..89b1acd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,9 +17,13 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Lint and format + - name: Lint uses: chartboost/ruff-action@v1 + # Default action is 'check' # it may move, see https://github.com/astral-sh/ruff/issues/8400 + + - name: Format + uses: chartboost/ruff-action@v1 with: args: 'format --check'