File tree Expand file tree Collapse file tree 3 files changed +12
-8
lines changed
generic/testcontainers/generic Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -19,20 +19,20 @@ jobs:
1919 - name : Checkout contents
2020 uses : actions/checkout@v4
2121 with :
22- fetch-depth : 0 # recommended by tj-actions/changed-files
22+ fetch-depth : 0
2323 - name : Get changed files
2424 id : changed-files
25- uses : tj-actions/changed-files@v42
25+ uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3
2626 with :
27- path : " ./modules "
28- diff_relative : true
29- dir_names : true
30- dir_names_exclude_current_dir : true
31- json : true
27+ base : ${{ github.ref }}
28+ list-files : ' json '
29+ filters : |
30+ modules:
31+ - 'modules/**'
3232 - name : Compute modules from files
3333 id : compute-changes
3434 run : |
35- modules=$(echo "${{ steps.changed-files.outputs.all_changed_files }}" | jq '.[] | split("/") | first ' | jq -s -c '. | unique')
35+ modules=$(echo "${{ toJson( steps.changed-files.outputs.modules_files) }}" | jq '.[] | split("/") | nth(1) ' | jq -s -c '. | unique')
3636 echo "computed_modules=$modules"
3737 echo "computed_modules=$modules" >> $GITHUB_OUTPUT
3838 outputs :
Original file line number Diff line number Diff line change 99RIE_PATH = "/2015-03-31/functions/function/invocations"
1010# AWS OS-only base images contain an Amazon Linux distribution and the runtime interface emulator (RIE) for Lambda.
1111
12+ # This comment can be removed (Used for testing)
13+
1214
1315class AWSLambdaContainer (ServerContainer ):
1416 """
Original file line number Diff line number Diff line change 99from testcontainers .core .image import DockerImage
1010from testcontainers .core .waiting_utils import wait_container_is_ready
1111
12+ # This comment can be removed (Used for testing)
13+
1214
1315class ServerContainer (DockerContainer ):
1416 """
You can’t perform that action at this time.
0 commit comments