diff options
author | neha-p6 <neha.pansare@progress.com> | 2022-12-21 20:14:39 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-21 20:14:39 +0530 |
commit | 88974f21f9237d10fce70bdf52c9dec645bec53d (patch) | |
tree | fd794aef98bcc803a257fa5f4a8849a51a60c47a | |
parent | 5c0531bd7deb657a4b8a692ab6104c57c1c233c6 (diff) | |
download | chef-88974f21f9237d10fce70bdf52c9dec645bec53d.tar.gz |
[Chef-16] Replace deprecated macos-10.15 instances with macos-11 (#13401)
* Github actions has deprecated macos10.15 and is going to completely remove it on Dec22, so replace it with macos11
Signed-off-by: Neha Pansare <neha.pansare@progress.com>
* Update github actions checkout to v3 to fix deprecation warnings for nodejs
Signed-off-by: Neha Pansare <neha.pansare@progress.com>
* Use macos12 boxes for kitchen and unit spec testing under github actions
#Signed-off-by: Neha Pansare <neha.pansare@progress.com>
Signed-off-by: Neha Pansare <neha.pansare@progress.com>
-rw-r--r-- | .github/workflows/kitchen.yml | 8 | ||||
-rw-r--r-- | .github/workflows/unit_specs.yml | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/kitchen.yml b/.github/workflows/kitchen.yml index 18de552990..d305ffb517 100644 --- a/.github/workflows/kitchen.yml +++ b/.github/workflows/kitchen.yml @@ -15,7 +15,7 @@ jobs: os: [windows-2022, windows-2019] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: 'Install Chef/Ohai from Omnitruck' id: install_chef run: | @@ -56,10 +56,10 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-10.15] # macos-11.0 is not public for now + os: [macos-12] # Github has deprecated macos-10.15 runner https://github.com/actions/runner-images/issues/5583 runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: 'Install Chef/Ohai from Omnitruck' id: install_chef run: | @@ -113,7 +113,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/unit_specs.yml b/.github/workflows/unit_specs.yml index 1c78ee4c0a..846967f6bc 100644 --- a/.github/workflows/unit_specs.yml +++ b/.github/workflows/unit_specs.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-10.15] # macos-11.0 is not public for now + os: [macos-12] # Github has deprecated macos-10.15 runner https://github.com/actions/runner-images/issues/5583 # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0' ruby: ['2.7'] runs-on: ${{ matrix.os }} |