Skip to content

Commit

Permalink
exp: show state of directory before / after checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioseel committed Oct 10, 2024
1 parent ff58590 commit 17db57e
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/code_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,21 @@ 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: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch all branches
run: git fetch --all
- name: Run Pylint
run: |
singularity exec ${{ env.sif_file }} \
pylint $(git diff --name-only origin/master...HEAD -- '*.py')
- 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')

0 comments on commit 17db57e

Please sign in to comment.