diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index a186346..fe4f9ef 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/src/courses/advanced/09.md b/src/courses/advanced/09.md index b377456..5416ab5 100644 --- a/src/courses/advanced/09.md +++ b/src/courses/advanced/09.md @@ -67,7 +67,7 @@ jobs: run: curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P inspec -v 5 - name: PREP - Check out this repository # because that's where our profile is! - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: LINT - Run InSpec Check # double-check that we don't have any serious issues in our profile code run: inspec check $PROFILE diff --git a/src/courses/advanced/10.md b/src/courses/advanced/10.md index 46e2baa..86c53dc 100644 --- a/src/courses/advanced/10.md +++ b/src/courses/advanced/10.md @@ -21,7 +21,7 @@ First, we need to make sure that the node that runs our pipeline will have acces run: curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P inspec -v 5 - name: PREP - Check out this repository # because that's where our profile is! - uses: actions/checkout@v4 + uses: actions/checkout@v3 ``` @tab `pipeline.yml` after adding more steps ``` yaml @@ -46,7 +46,7 @@ jobs: run: curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P inspec -v 5 - name: PREP - Check out this repository # because that's where our profile is! - uses: actions/checkout@v4 + uses: actions/checkout@v3 ``` ::: @@ -98,7 +98,7 @@ jobs: run: curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P inspec -v 5 - name: PREP - Check out this repository # because that's where our profile is! - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: LINT - Run InSpec Check # double-check that we don't have any serious issues in our profile code run: inspec check $PROFILE @@ -149,7 +149,7 @@ jobs: run: curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P inspec -v 5 - name: PREP - Check out this repository # because that's where our profile is! - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: LINT - Run InSpec Check # double-check that we don't have any serious issues in our profile code run: inspec check $PROFILE @@ -213,7 +213,7 @@ jobs: run: curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P inspec -v 5 - name: PREP - Check out this repository # because that's where our profile is! - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: LINT - Run InSpec Check # double-check that we don't have any serious issues in our profile code run: inspec check $PROFILE @@ -283,7 +283,7 @@ jobs: run: curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P inspec -v 5 - name: PREP - Check out this repository # because that's where our profile is! - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: LINT - Run InSpec Check # double-check that we don't have any serious issues in our profile code run: inspec check $PROFILE diff --git a/src/courses/advanced/11.md b/src/courses/advanced/11.md index 23f6366..bd72eac 100644 --- a/src/courses/advanced/11.md +++ b/src/courses/advanced/11.md @@ -116,7 +116,7 @@ jobs: run: curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P inspec -v 5 - name: PREP - Check out this repository # because that's where our profile is! - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: LINT - Run InSpec Check # double-check that we don't have any serious issues in our profile code run: inspec check $PROFILE 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 3d8466e..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 @@ -57,7 +57,7 @@ jobs: aws-secret-access-key: ${{ secrets.SAF_AWS_SECRET_ACCESS_KEY }} aws-region: us-east-1 - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@v2 - name: Clone full repository so we can push run: git fetch --prune --unshallow - name: Setup Ruby