@@ -11,18 +11,18 @@ jobs:
1111
1212 steps :
1313 - name : Pull in source code from aws-xray-sdk-python Github repository
14- uses : actions/checkout@v2
14+ uses : actions/checkout@v3
1515
1616 - name : Setup python
17- uses : actions/setup-python@v2
17+ uses : actions/setup-python@v4
1818 with :
1919 python-version : ' 3.8'
2020
2121 - name : Build X-Ray Python SDK
2222 run : python setup.py sdist
2323
2424 - name : Upload SDK build artifact
25- uses : actions/upload-artifact@v2
25+ uses : actions/upload-artifact@v3
2626 with :
2727 name : sdk-build-artifact
2828 path : .
@@ -33,15 +33,15 @@ jobs:
3333 runs-on : ubuntu-latest
3434
3535 steps :
36- - uses : actions/checkout@v2
36+ - uses : actions/checkout@v3
3737
3838 - name : Setup python
39- uses : actions/setup-python@v2
39+ uses : actions/setup-python@v4
4040 with :
4141 python-version : ' 3.8'
4242
4343 - name : Download X-Ray SDK build artifact
44- uses : actions/download-artifact@v2
44+ uses : actions/download-artifact@v3
4545 with :
4646 name : sdk-build-artifact
4747 path : ./sample-apps/flask
5555 working-directory : ./sample-apps/flask
5656
5757 - name : Upload WebApp with X-Ray SDK build artifact
58- uses : actions/upload-artifact@v2
58+ uses : actions/upload-artifact@v3
5959 with :
6060 name : sdk-flask-build-artifact
6161 path : ./sample-apps/flask/deploy.zip
@@ -67,10 +67,10 @@ jobs:
6767
6868 steps :
6969 - name : Checkout X-Ray SDK to get terraform source
70- uses : actions/checkout@v2
70+ uses : actions/checkout@v3
7171
7272 - name : Download WebApp with X-Ray SDK build artifact
73- uses : actions/download-artifact@v2
73+ uses : actions/download-artifact@v3
7474 with :
7575 name : sdk-flask-build-artifact
7676
8585 aws-region : us-west-2
8686
8787 - name : Setup Terraform
88- uses : hashicorp/setup-terraform@v1
88+ uses : hashicorp/setup-terraform@v2
8989
9090 - name : Terraform Init
9191 run : terraform init
@@ -109,7 +109,7 @@ jobs:
109109 working-directory : ./terraform
110110
111111 - name : Upload terraform state files for destorying resources
112- uses : actions/upload-artifact@v2
112+ uses : actions/upload-artifact@v3
113113 with :
114114 name : terraform-state-artifact
115115 path : ./terraform
@@ -120,8 +120,9 @@ jobs:
120120 runs-on : ubuntu-latest
121121
122122 steps :
123- - uses : actions/setup-java@v1
123+ - uses : actions/setup-java@v3
124124 with :
125+ distribution : ' zulu'
125126 java-version : 14
126127
127128 - name : Configure AWS Credentials
@@ -132,7 +133,7 @@ jobs:
132133 aws-region : us-west-2
133134
134135 - name : Checkout test framework
135- uses : actions/checkout@v2
136+ uses : actions/checkout@v3
136137 with :
137138 repository : aws-observability/aws-otel-test-framework
138139 ref : terraform
@@ -148,7 +149,7 @@ jobs:
148149
149150 steps :
150151 - name : Download terraform state artifact
151- uses : actions/download-artifact@v2
152+ uses : actions/download-artifact@v3
152153 with :
153154 name : terraform-state-artifact
154155
@@ -160,7 +161,7 @@ jobs:
160161 aws-region : us-west-2
161162
162163 - name : Setup Terraform
163- uses : hashicorp/setup-terraform@v1
164+ uses : hashicorp/setup-terraform@v2
164165
165166 - name : Terraform Init
166167 run : terraform init
0 commit comments