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:
19
19
- name : Checkout contents
20
20
uses : actions/checkout@v4
21
21
with :
22
- fetch-depth : 0 # recommended by tj-actions/changed-files
22
+ fetch-depth : 0
23
23
- name : Get changed files
24
24
id : changed-files
25
- uses : tj-actions/changed-files@v42
25
+ uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3
26
26
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/**'
32
32
- name : Compute modules from files
33
33
id : compute-changes
34
34
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')
36
36
echo "computed_modules=$modules"
37
37
echo "computed_modules=$modules" >> $GITHUB_OUTPUT
38
38
outputs :
Original file line number Diff line number Diff line change 9
9
RIE_PATH = "/2015-03-31/functions/function/invocations"
10
10
# AWS OS-only base images contain an Amazon Linux distribution and the runtime interface emulator (RIE) for Lambda.
11
11
12
+ # This comment can be removed (Used for testing)
13
+
12
14
13
15
class AWSLambdaContainer (ServerContainer ):
14
16
"""
Original file line number Diff line number Diff line change 9
9
from testcontainers .core .image import DockerImage
10
10
from testcontainers .core .waiting_utils import wait_container_is_ready
11
11
12
+ # This comment can be removed (Used for testing)
13
+
12
14
13
15
class ServerContainer (DockerContainer ):
14
16
"""
You can’t perform that action at this time.
0 commit comments