diff --git a/.github/workflows/verify-vagrant.yml b/.github/workflows/verify-vagrant.yml index 3284a1d..0059f7c 100644 --- a/.github/workflows/verify-vagrant.yml +++ b/.github/workflows/verify-vagrant.yml @@ -23,13 +23,13 @@ jobs: - name: Check out repository uses: actions/checkout@v2 - 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') }} @@ -55,7 +55,7 @@ jobs: bundle exec inspec_tools compliance -j test/cookbooks/${{ matrix.suite }}/windows-10-ltsc-${{ matrix.suite }}-results.json -f ${{ matrix.suite }}.threshold.yml bundle exec inspec_tools compliance -j test/cookbooks/${{ matrix.suite }}/windows-10-${{ matrix.suite }}-results.json -f ${{ matrix.suite }}.threshold.yml - name: Save Test Result JSON - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: path: test/cookbooks/${{ matrix.suite }}/*-results.json if-no-files-found: error