From c2fd3cb8d12e4159fd2eec798017466e123b2fe1 Mon Sep 17 00:00:00 2001 From: Fabio Seel Date: Thu, 10 Oct 2024 16:27:54 +0200 Subject: [PATCH] fix: enable pylint instead of listing again --- .github/workflows/code_check.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/code_check.yml b/.github/workflows/code_check.yml index 2851719..9b66005 100644 --- a/.github/workflows/code_check.yml +++ b/.github/workflows/code_check.yml @@ -23,10 +23,6 @@ jobs: - name: Fetch all branches run: git fetch --all - - name: List current state - run: | - ls - pwd - name: Setup Apptainer uses: eWaterCycle/setup-apptainer@v2 with: @@ -43,11 +39,7 @@ jobs: singularity registry login --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} oras://ghcr.io singularity pull ${{ env.sif_file }} ${{ env.singularity_image }} - - name: List current state - run: | - ls - pwd - # - name: Run Pylint - # run: | - # singularity exec ${{ env.sif_file }} \ - # pylint $(git diff --name-only origin/master...HEAD -- '*.py') + - name: Run Pylint + run: | + singularity exec ${{ env.sif_file }} \ + pylint $(git diff --name-only origin/master...HEAD -- '*.py')