Skip to content

Commit

Permalink
Update workflows to use actions v4 and replace the archived workflow …
Browse files Browse the repository at this point in the history
…actions/setup-ruby@v1 with ruby/setup-ruby@v1

Signed-off-by: Joyce Quach <[email protected]>
  • Loading branch information
jtquach1 committed Dec 12, 2024
1 parent b18b9ec commit 1840e33
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/verify-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down Expand Up @@ -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
8 changes: 4 additions & 4 deletions .github/workflows/verify-vagrant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down Expand Up @@ -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

0 comments on commit 1840e33

Please sign in to comment.