Skip to content

Commit 63febc5

Browse files
committed
(maint) Update GitHub Actions runners and actions
This commit updates GitHub Actions to move away from both operating systems and Actions that are nearing or past end-of-life.
1 parent e4337c0 commit 63febc5

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ jobs:
1010
name: ${{ matrix.os_type }} / Puppet${{ matrix.puppet_version }} gem / Ruby ${{ matrix.ruby }}
1111
strategy:
1212
matrix:
13-
os: [ 'ubuntu-18.04', 'macos-10.15', 'windows-2019' ]
13+
os: [ 'ubuntu-20.04', 'macos-11', 'windows-2019' ]
1414
puppet_version: [ 6, 7 ]
1515
include:
1616
- puppet_version: 6
1717
ruby: 2.5
1818
- puppet_version: 7
1919
ruby: 2.7
2020

21-
- os: 'ubuntu-18.04'
21+
- os: 'ubuntu-20.04'
2222
os_type: 'Linux'
2323
env_set_cmd: 'export '
2424
gem_file: 'puppet-latest.gem'
25-
- os: 'macos-10.15'
25+
- os: 'macos-11'
2626
os_type: 'macOS'
2727
env_set_cmd: 'export '
2828
gem_file: 'puppet-latest-universal-darwin.gem'
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ${{ matrix.os }}
3535
steps:
3636
- name: Checkout code
37-
uses: actions/checkout@v2
37+
uses: actions/checkout@v3
3838

3939
- name: Install ruby version ${{ matrix.ruby }}
4040
uses: ruby/setup-ruby@v1

.github/workflows/static_code_analysis.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
ruby_version: 2.6
1616
extra_checks: check:symlinks check:git_ignore check:dot_underscore check:test_file
1717

18-
runs-on: 'ubuntu-18.04'
18+
runs-on: 'ubuntu-20.04'
1919
steps:
2020
- name: Checkout current PR code
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v3
2222
with:
2323
fetch-depth: 0
2424

.github/workflows/unit_tests_with_nightly_puppet_gem.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ jobs:
1212
name: ${{ matrix.os_type }} / Puppet${{ matrix.puppet_version }} gem / Ruby ${{ matrix.ruby }}
1313
strategy:
1414
matrix:
15-
os: [ 'ubuntu-18.04', 'macos-10.15', 'windows-2019' ]
15+
os: [ 'ubuntu-20.04', 'macos-11', 'windows-2019' ]
1616
puppet_version: [ 6, 7 ]
1717
include:
1818
- puppet_version: 6
1919
ruby: 2.5
2020
- puppet_version: 7
2121
ruby: 2.7
2222

23-
- os: 'ubuntu-18.04'
23+
- os: 'ubuntu-20.04'
2424
os_type: 'Linux'
2525
env_set_cmd: 'export '
2626
gem_file: 'puppet-latest.gem'
27-
- os: 'macos-10.15'
27+
- os: 'macos-11'
2828
os_type: 'macOS'
2929
env_set_cmd: 'export '
3030
gem_file: 'puppet-latest-universal-darwin.gem'
@@ -36,7 +36,7 @@ jobs:
3636
runs-on: ${{ matrix.os }}
3737
steps:
3838
- name: Checkout current PR code
39-
uses: actions/checkout@v2
39+
uses: actions/checkout@v3
4040

4141
- name: Install ruby version ${{ matrix.ruby }}
4242
uses: ruby/setup-ruby@v1

.github/workflows/unit_tests_with_released_puppet_gem.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ jobs:
1212
name: ${{ matrix.os_type }} / Puppet${{ matrix.puppet_version }} gem / Ruby ${{ matrix.ruby }}
1313
strategy:
1414
matrix:
15-
os: [ 'ubuntu-18.04', 'macos-10.15', 'windows-2019' ]
15+
os: [ 'ubuntu-20.04', 'macos-11', 'windows-2019' ]
1616
puppet_version: [ 6, 7 ]
1717
include:
1818
- puppet_version: 6
1919
ruby: 2.5
2020
- puppet_version: 7
2121
ruby: 2.7
2222

23-
- os: 'ubuntu-18.04'
23+
- os: 'ubuntu-20.04'
2424
os_type: 'Linux'
25-
- os: 'macos-10.15'
25+
- os: 'macos-11'
2626
os_type: 'macOS'
2727
- os: 'windows-2019'
2828
os_type: 'Windows'
@@ -32,7 +32,7 @@ jobs:
3232
PUPPET_GEM_VERSION: ~> ${{ matrix.puppet_version }}.0
3333
steps:
3434
- name: Checkout current PR code
35-
uses: actions/checkout@v2
35+
uses: actions/checkout@v3
3636

3737
- name: Install ruby version ${{ matrix.ruby }}
3838
uses: ruby/setup-ruby@v1

0 commit comments

Comments
 (0)