diff --git a/src/courses/advanced/09.md b/src/courses/advanced/09.md index 99afbb1..5416ab5 100644 --- a/src/courses/advanced/09.md +++ b/src/courses/advanced/09.md @@ -100,7 +100,7 @@ jobs: --reporter cli json:results/pipeline_run.json - name: VALIDATE - Save Test Result JSON # save our results to the pipeline artifacts, even if the InSpec run found failing tests - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: results/pipeline_run.json diff --git a/src/courses/advanced/10.md b/src/courses/advanced/10.md index 9ca61ff..86c53dc 100644 --- a/src/courses/advanced/10.md +++ b/src/courses/advanced/10.md @@ -256,7 +256,7 @@ Let's run InSpec: --reporter cli json:results/pipeline_run.json - name: VALIDATE - Save Test Result JSON # save our results to the pipeline artifacts, even if the InSpec run found failing tests - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: results/pipeline_run.json ``` @@ -314,7 +314,7 @@ jobs: --target docker://nginx \ --reporter cli json:results/pipeline_run.json - name: VALIDATE - Save Test Result JSON # save our results to the pipeline artifacts, even if the InSpec run found failing tests - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: results/pipeline_run.json ``` diff --git a/src/courses/advanced/11.md b/src/courses/advanced/11.md index 45392c6..bd72eac 100644 --- a/src/courses/advanced/11.md +++ b/src/courses/advanced/11.md @@ -149,7 +149,7 @@ jobs: --reporter cli json:results/pipeline_run.json - name: VALIDATE - Save Test Result JSON # save our results to the pipeline artifacts, even if the InSpec run found failing tests - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: results/pipeline_run.json diff --git a/src/courses/advanced/Appendix D - Example Pipeline for Validating an InSpec Profile.md b/src/courses/advanced/Appendix D - Example Pipeline for Validating an InSpec Profile.md index 43f10bf..05d06c8 100644 --- a/src/courses/advanced/Appendix D - Example Pipeline for Validating an InSpec Profile.md +++ b/src/courses/advanced/Appendix D - Example Pipeline for Validating an InSpec Profile.md @@ -83,7 +83,7 @@ jobs: with: command_string: 'validate threshold -i spec/results/ec2_rhel-7_${{ matrix.suite }}.json -F ${{ matrix.suite }}.threshold.yml' - name: Save Test Result JSON - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: path: spec/results/ ```