@@ -15,18 +15,18 @@ jobs:
1515
1616 steps :
1717 - name : Pull in source code from aws-xray-sdk-python Github repository
18- uses : actions/checkout@v3
18+ uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
1919
2020 - name : Setup python
21- uses : actions/setup-python@v4
21+ uses : actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4.9.1
2222 with :
2323 python-version : ' 3.8'
2424
2525 - name : Build X-Ray Python SDK
2626 run : python setup.py sdist
2727
2828 - name : Upload SDK build artifact
29- uses : actions/upload-artifact@v4
29+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
3030 with :
3131 name : sdk-build-artifact
3232 path : .
@@ -37,15 +37,15 @@ jobs:
3737 runs-on : ubuntu-latest
3838
3939 steps :
40- - uses : actions/checkout@v3
40+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
4141
4242 - name : Setup python
43- uses : actions/setup-python@v4
43+ uses : actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4.9.1
4444 with :
4545 python-version : ' 3.8'
4646
4747 - name : Download X-Ray SDK build artifact
48- uses : actions/download-artifact@v4
48+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
4949 with :
5050 name : sdk-build-artifact
5151 path : ./sample-apps/flask
5959 working-directory : ./sample-apps/flask
6060
6161 - name : Upload WebApp with X-Ray SDK build artifact
62- uses : actions/upload-artifact@v4
62+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6363 with :
6464 name : sdk-flask-build-artifact
6565 path : ./sample-apps/flask/deploy.zip
@@ -71,24 +71,24 @@ jobs:
7171
7272 steps :
7373 - name : Checkout X-Ray SDK to get terraform source
74- uses : actions/checkout@v3
74+ uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
7575
7676 - name : Download WebApp with X-Ray SDK build artifact
77- uses : actions/download-artifact@v4
77+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
7878 with :
7979 name : sdk-flask-build-artifact
8080
8181 - name : Copy deployment package to terraform directory
8282 run : cp deploy.zip ./terraform
8383
8484 - name : Configure AWS Credentials
85- uses : aws-actions/configure-aws-credentials@v4
85+ uses : aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
8686 with :
8787 role-to-assume : ${{ secrets.AWS_INTEG_TEST_ROLE_ARN }}
8888 aws-region : us-west-2
8989
9090 - name : Setup Terraform
91- uses : hashicorp/setup-terraform@v2
91+ uses : hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1 # v2.0.3
9292
9393 - name : Terraform Init
9494 run : terraform init
@@ -112,7 +112,7 @@ jobs:
112112 working-directory : ./terraform
113113
114114 - name : Upload terraform state files for destorying resources
115- uses : actions/upload-artifact@v4
115+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
116116 with :
117117 name : terraform-state-artifact
118118 path : ./terraform
@@ -123,19 +123,19 @@ jobs:
123123 runs-on : ubuntu-latest
124124
125125 steps :
126- - uses : actions/setup-java@v3
126+ - uses : actions/setup-java@17f84c3641ba7b8f6deff6309fc4c864478f5d62 # v3.14.1
127127 with :
128128 distribution : ' zulu'
129129 java-version : 14
130130
131131 - name : Configure AWS Credentials
132- uses : aws-actions/configure-aws-credentials@v4
132+ uses : aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
133133 with :
134134 role-to-assume : ${{ secrets.AWS_INTEG_TEST_ROLE_ARN }}
135135 aws-region : us-west-2
136136
137137 - name : Checkout test framework
138- uses : actions/checkout@v3
138+ uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
139139 with :
140140 repository : aws-observability/aws-otel-test-framework
141141 ref : terraform
@@ -151,18 +151,18 @@ jobs:
151151
152152 steps :
153153 - name : Download terraform state artifact
154- uses : actions/download-artifact@v4
154+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
155155 with :
156156 name : terraform-state-artifact
157157
158158 - name : Configure AWS Credentials
159- uses : aws-actions/configure-aws-credentials@v4
159+ uses : aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
160160 with :
161161 role-to-assume : ${{ secrets.AWS_INTEG_TEST_ROLE_ARN }}
162162 aws-region : us-west-2
163163
164164 - name : Setup Terraform
165- uses : hashicorp/setup-terraform@v2
165+ uses : hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1 # v2.0.3
166166
167167 - name : Terraform Init
168168 run : terraform init
0 commit comments