aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hashizume <michael.hashizume@puppet.com>2023-02-10 10:34:26 -0800
committerMichael Hashizume <michael.hashizume@puppet.com>2023-02-10 10:34:26 -0800
commit66d5fdf3b51188ddedac4baad6f5c1621db862f2 (patch)
tree72c92371bea526076bfa8f941b5d536a7888ce44
parentacb57af9252b9ff1ac3fb4a0e0f0a60d0a390c56 (diff)
downloadpuppet-cron_core-66d5fdf3b51188ddedac4baad6f5c1621db862f2.tar.gz
puppet-cron_core-66d5fdf3b51188ddedac4baad6f5c1621db862f2.tar.bz2
(MODULES-11377) Update GitHub Action Ubuntu runner
GitHub is deprecating Ubuntu 18.04 runners on April 1, 2023. This commit switches all Ubuntu 18.04 runners used in GitHub Actions to Ubuntu 20.04. https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/ This commit also updates all instances of the actions/checkout@v2 to actions/checkout@v3 in perparation for the former's deprecation as part of the NodeJS deprecation. https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
-rw-r--r--.github/workflows/auto_release.yml2
-rw-r--r--.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml6
-rw-r--r--.github/workflows/release.yml4
-rw-r--r--.github/workflows/static_code_analysis.yaml4
-rw-r--r--.github/workflows/unit_tests_with_nightly_puppet_gem.yaml6
-rw-r--r--.github/workflows/unit_tests_with_released_puppet_gem.yaml6
6 files changed, 14 insertions, 14 deletions
diff --git a/.github/workflows/auto_release.yml b/.github/workflows/auto_release.yml
index f4aed44..7bae1db 100644
--- a/.github/workflows/auto_release.yml
+++ b/.github/workflows/auto_release.yml
@@ -28,7 +28,7 @@ jobs:
echo STEP_START=$(date +%s) >> $GITHUB_ENV
- name: "Checkout Source"
if: ${{ github.repository_owner == 'puppetlabs' }}
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
diff --git a/.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml b/.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml
index 941c9f5..6579eff 100644
--- a/.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml
+++ b/.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml
@@ -10,7 +10,7 @@ jobs:
name: ${{ matrix.os_type }} / Puppet${{ matrix.puppet_version }} gem / Ruby ${{ matrix.ruby }}
strategy:
matrix:
- os: [ 'ubuntu-18.04', 'macos-latest', 'windows-2019' ]
+ os: [ 'ubuntu-20.04', 'macos-latest', 'windows-2019' ]
puppet_version: [ 6, 7 ]
include:
- puppet_version: 6
@@ -18,7 +18,7 @@ jobs:
- puppet_version: 7
ruby: 2.7
- - os: 'ubuntu-18.04'
+ - os: 'ubuntu-20.04'
os_type: 'Linux'
env_set_cmd: 'export '
gem_file: 'puppet-latest.gem'
@@ -34,7 +34,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Install ruby version ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 1509f6e..d9604ad 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
clean: true
@@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
clean: true
diff --git a/.github/workflows/static_code_analysis.yaml b/.github/workflows/static_code_analysis.yaml
index 9a132eb..b639220 100644
--- a/.github/workflows/static_code_analysis.yaml
+++ b/.github/workflows/static_code_analysis.yaml
@@ -15,10 +15,10 @@ jobs:
ruby_version: 2.6
extra_checks: check:symlinks check:git_ignore check:dot_underscore check:test_file
- runs-on: 'ubuntu-18.04'
+ runs-on: 'ubuntu-20.04'
steps:
- name: Checkout current PR code
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
diff --git a/.github/workflows/unit_tests_with_nightly_puppet_gem.yaml b/.github/workflows/unit_tests_with_nightly_puppet_gem.yaml
index af7e737..6a9d703 100644
--- a/.github/workflows/unit_tests_with_nightly_puppet_gem.yaml
+++ b/.github/workflows/unit_tests_with_nightly_puppet_gem.yaml
@@ -12,7 +12,7 @@ jobs:
name: ${{ matrix.os_type }} / Puppet${{ matrix.puppet_version }} gem / Ruby ${{ matrix.ruby }}
strategy:
matrix:
- os: [ 'ubuntu-18.04', 'macos-latest', 'windows-2019' ]
+ os: [ 'ubuntu-20.04', 'macos-latest', 'windows-2019' ]
puppet_version: [ 6, 7 ]
include:
- puppet_version: 6
@@ -20,7 +20,7 @@ jobs:
- puppet_version: 7
ruby: 2.7
- - os: 'ubuntu-18.04'
+ - os: 'ubuntu-20.04'
os_type: 'Linux'
env_set_cmd: 'export '
gem_file: 'puppet-latest.gem'
@@ -36,7 +36,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current PR code
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Install ruby version ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
diff --git a/.github/workflows/unit_tests_with_released_puppet_gem.yaml b/.github/workflows/unit_tests_with_released_puppet_gem.yaml
index c316cb0..8b5afcb 100644
--- a/.github/workflows/unit_tests_with_released_puppet_gem.yaml
+++ b/.github/workflows/unit_tests_with_released_puppet_gem.yaml
@@ -12,7 +12,7 @@ jobs:
name: ${{ matrix.os_type }} / Puppet${{ matrix.puppet_version }} gem / Ruby ${{ matrix.ruby }}
strategy:
matrix:
- os: [ 'ubuntu-18.04', 'macos-latest', 'windows-2019' ]
+ os: [ 'ubuntu-20.04', 'macos-latest', 'windows-2019' ]
puppet_version: [ 6, 7 ]
include:
- puppet_version: 6
@@ -20,7 +20,7 @@ jobs:
- puppet_version: 7
ruby: 2.7
- - os: 'ubuntu-18.04'
+ - os: 'ubuntu-20.04'
os_type: 'Linux'
- os: 'macos-latest'
os_type: 'macOS'
@@ -32,7 +32,7 @@ jobs:
PUPPET_GEM_VERSION: ~> ${{ matrix.puppet_version }}.0
steps:
- name: Checkout current PR code
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Install ruby version ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1