aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hashizume <michael.hashizume@puppet.com>2023-02-10 10:56:30 -0800
committerMichael Hashizume <michael.hashizume@puppet.com>2023-02-10 10:56:30 -0800
commit22dd5eafa5a5e57006e8f5070a05e186056a907a (patch)
tree381f55fe1574f047c0e8e5041b38c6a6b773f269
parent24d2929d67011fbd4ea27fc94025ee14390e74cd (diff)
downloadpuppet-augeas_core-22dd5eafa5a5e57006e8f5070a05e186056a907a.tar.gz
puppet-augeas_core-22dd5eafa5a5e57006e8f5070a05e186056a907a.tar.bz2
(MODULES-11378) 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/ Additionally, this commit removes a Gem that was mistakenly committed in https://github.com/puppetlabs/puppetlabs-augeas_core/commit/76e710a94692ecc0c1881c7d7814e84e63ff69db
-rw-r--r--.github/workflows/auto_release.yml2
-rw-r--r--.github/workflows/dispatch_unit_tests_with_nightly_puppet_gem.yaml6
-rw-r--r--.github/workflows/puppet-latest.gembin2772480 -> 0 bytes
-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
7 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/dispatch_unit_tests_with_nightly_puppet_gem.yaml b/.github/workflows/dispatch_unit_tests_with_nightly_puppet_gem.yaml
index fed0724..541c3ec 100644
--- a/.github/workflows/dispatch_unit_tests_with_nightly_puppet_gem.yaml
+++ b/.github/workflows/dispatch_unit_tests_with_nightly_puppet_gem.yaml
@@ -72,9 +72,9 @@ jobs:
strategy:
matrix:
- os: [ 'ubuntu-18.04', 'macos-latest', 'windows-2019' ]
+ os: [ 'ubuntu-20.04', 'macos-latest', 'windows-2019' ]
include:
- - os: 'ubuntu-18.04'
+ - os: 'ubuntu-20.04'
os_type: 'Linux'
env_set_cmd: 'export '
gem_file_postfix: '.gem'
@@ -90,7 +90,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Install ruby version ${{ env.ruby_version }}
uses: ruby/setup-ruby@v1
diff --git a/.github/workflows/puppet-latest.gem b/.github/workflows/puppet-latest.gem
deleted file mode 100644
index 447f424..0000000
--- a/.github/workflows/puppet-latest.gem
+++ /dev/null
Binary files differ
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 88604d0..b2c6a12 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