diff options
author | Gene Wood <gene_wood@cementhorizon.com> | 2022-11-08 09:54:40 -0800 |
---|---|---|
committer | Gene Wood <gene_wood@cementhorizon.com> | 2022-11-08 09:54:40 -0800 |
commit | f2d6d5bd1d85fc404ccf84625dd6045a29d14998 (patch) | |
tree | 529b8b0cae642f9f27dea6fe8dab42c7f82e1dce /.github | |
parent | 2e924bba9397a9eb73cf585b9bc864c5ef8adb13 (diff) | |
download | chef-f2d6d5bd1d85fc404ccf84625dd6045a29d14998.tar.gz |
Upgrade GitHub Actions checkout from v2 to v3
This switches the action to Node.js 16 from Node.js 12 which went out of support April 2022. This will remove the warning messages in GitHub Action runs :
> Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16
Signed-off-by: Gene Wood <gene_wood@cementhorizon.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/kitchen.yml | 6 | ||||
-rw-r--r-- | .github/workflows/lint.yml | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/kitchen.yml b/.github/workflows/kitchen.yml index 7844ebe111..589d572be4 100644 --- a/.github/workflows/kitchen.yml +++ b/.github/workflows/kitchen.yml @@ -16,7 +16,7 @@ jobs: ruby: ['3.1'] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: 'Upgrade Ruby Devkit on Windows' id: upgrade_ruby run: | @@ -135,7 +135,7 @@ jobs: ruby: ["3.1"] # macos-11.0 is not public for now runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: clean: true - name: 'Upgrade Ruby Devkit on Macos' @@ -205,7 +205,7 @@ jobs: CHEF_LICENSE: accept-no-persist steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Ruby uses: ruby/setup-ruby@v1 with: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 80bb153de6..bbd0790633 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: env: BUNDLE_WITHOUT: ruby_shadow:omnibus_package steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 with: ruby-version: 3.1 @@ -26,7 +26,7 @@ jobs: spellcheck: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: carlosperate/download-file-action@v2.0.0 id: download-custom-dictionary with: |