diff --git a/.github/workflows/verify-docker.yml b/.github/workflows/verify-docker.yml index dd0b019..1aa0a5b 100644 --- a/.github/workflows/verify-docker.yml +++ b/.github/workflows/verify-docker.yml @@ -25,13 +25,13 @@ jobs: fail-fast: false steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup Ruby - uses: actions/setup-ruby@v1 + uses: ruby/setup-ruby@v1 with: ruby-version: '2.7' - name: Setup caching - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: vendor/bundle key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} @@ -60,6 +60,6 @@ jobs: - name: Ensure the scan meets our ${{ matrix.suite }} results threshold - Couchbase Enterprise 6.6.0 run: bundle exec inspec_tools compliance -j spec/results/ubuntu-16.04-couchbase-enterprise-6.6.0-${{ matrix.suite }}-test-result.json -f threshold.${{ matrix.suite }}.yml - name: Save Test Result JSON - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: path: spec/results diff --git a/.github/workflows/verify-vagrant.yml b/.github/workflows/verify-vagrant.yml index ca2ee63..d743c45 100644 --- a/.github/workflows/verify-vagrant.yml +++ b/.github/workflows/verify-vagrant.yml @@ -24,15 +24,15 @@ jobs: - name: Add jq for output formatting run: brew install jq - name: Check out repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup Ruby - uses: actions/setup-ruby@v1 + uses: ruby/setup-ruby@v1 with: ruby-version: '2.7' - name: Disable ri and rdoc run: 'echo "gem: --no-ri --no-rdoc" >> ~/.gemrc' - name: Setup caching - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: vendor/bundle key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} @@ -65,6 +65,6 @@ jobs: - name: Ensure the scan meets our ${{ matrix.suite }} results threshold - Couchbase Enterprise 6.6.0 run: bundle exec inspec_tools compliance -j spec/results/rhel-7-couchbase-6.6.0-enterprise-${{ matrix.suite }}-test-result.json -f threshold.${{ matrix.suite }}.yml - name: Save Test Result JSON - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: path: spec/results