diff --git a/src/courses/advanced/09.md b/src/courses/advanced/09.md index 6ba8b7372..9fcb639c0 100644 --- a/src/courses/advanced/09.md +++ b/src/courses/advanced/09.md @@ -137,7 +137,7 @@ jobs: # save our results to the pipeline artifacts, even if the InSpec run found failing tests - name: VALIDATE - Save Test Result JSON - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: results/pipeline_run_attested.json diff --git a/src/courses/advanced/10.md b/src/courses/advanced/10.md index 15f258db5..4fc0622aa 100644 --- a/src/courses/advanced/10.md +++ b/src/courses/advanced/10.md @@ -335,7 +335,7 @@ Let's run InSpec: # save our results to the pipeline artifacts, even if the InSpec run found failing tests - name: VALIDATE - Save Test Result JSON - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: results/pipeline_run_attested.json ``` @@ -418,7 +418,7 @@ jobs: # save our results to the pipeline artifacts, even if the InSpec run found failing tests - name: VALIDATE - Save Test Result JSON - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: results/pipeline_run_attested.json ``` @@ -668,7 +668,7 @@ jobs: # save our results to the pipeline artifacts, even if the InSpec run found failing tests - name: VALIDATE - Save Test Result JSON - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: results/pipeline_run_attested.json diff --git a/src/courses/advanced/11.md b/src/courses/advanced/11.md index ed1204393..7c0d2e318 100644 --- a/src/courses/advanced/11.md +++ b/src/courses/advanced/11.md @@ -112,7 +112,7 @@ jobs: # save our results to the pipeline artifacts, even if the InSpec run found failing tests - name: VALIDATE - Save Test Result JSON - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: results/pipeline_run_attested.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 29fb6f780..dbb4769cf 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/ ```