Skip to content

Commit

Permalink
fix: checkout must be in every top level workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioseel committed Oct 10, 2024
1 parent 1d65f0e commit 9522e10
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/code_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Code Checking

on:
push:
paths:
- '**/*.py'
# paths:
# - '**/*.py'
pull_request:
branches:
- main
Expand All @@ -17,9 +17,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: eWaterCycle/setup-apptainer@v2
with:
apptainer-version: 1.3.0
- uses: ./.github/workflows/setup.yml
with:
singularity_image: ${{ env.singularity_image }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/config_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/setup.yml
with:
singularity_image: ${{ env.singularity_image }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: eWaterCycle/setup-apptainer@v2
with:
apptainer-version: 1.3.0
Expand Down

0 comments on commit 9522e10

Please sign in to comment.