From 6859caf787b8de96d35b59b621dfa768bbbb75fd Mon Sep 17 00:00:00 2001 From: Bhav Beri Date: Tue, 12 Mar 2024 09:35:20 +0530 Subject: [PATCH] Remove unwanted step from github formatting action --- .github/workflows/formatting.yml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml index 87cf5ab..f31acd9 100644 --- a/.github/workflows/formatting.yml +++ b/.github/workflows/formatting.yml @@ -15,30 +15,28 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.x' - + python-version: "3.x" + - name: Install dependencies run: | python -m pip install --upgrade pip pip install ruff - + - name: Lint with ruff run: ruff check --fix *.py - + - name: Format with ruff run: ruff format *.py - + - name: Remove ruff cache run: rm -rf .ruff_cache - + - uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: Apply Linting & Formatting Fixes - - - name: Remove Linting Branch - run: | - if git rev-parse --verify linting >/dev/null 2>&1; then - git push origin --delete linting - fi - \ No newline at end of file + # - name: Remove Linting Branch + # run: | + # if git rev-parse --verify linting >/dev/null 2>&1; then + # git push origin --delete linting + # fi