]> gitweb.fluxo.info Git - puppet-sshkeys_core.git/commitdiff
(MODULES-11374) Update GitHub Action Ubuntu runner
authorMichael Hashizume <michael.hashizume@puppet.com>
Fri, 10 Feb 2023 18:02:59 +0000 (10:02 -0800)
committerMichael Hashizume <michael.hashizume@puppet.com>
Fri, 10 Feb 2023 18:05:28 +0000 (10:05 -0800)
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/

.github/workflows/auto_release.yml
.github/workflows/dispatch_unit_tests_with_nightly_puppet_gem.yaml
.github/workflows/release.yml
.github/workflows/static_code_analysis.yaml
.github/workflows/unit_tests_with_nightly_puppet_gem.yaml
.github/workflows/unit_tests_with_released_puppet_gem.yaml

index f4aed440e59f3df863604acd8a0af1563e572319..7bae1dbb8b10be749226af315287b732ac848306 100644 (file)
@@ -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
index 9a78fc80efae042997445d3efbf63c605f2ace2c..176adf5f7b00a827536271010aed4d2db3f1f020 100644 (file)
@@ -76,9 +76,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'
@@ -94,7 +94,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
index 1509f6e91f9a5f44ad6b295cf6fa20d1c697dda4..d9604ad6a1789f18711dd9f8ca8a0cfa1285e4ce 100644 (file)
@@ -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
index 9a132eb865fcaa104700656c954859fab5f76d54..b63922048e990b13d4c9318f00ff9787ac7a75ae 100644 (file)
@@ -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
 
index 9f8e57a339d7fe3c4870ce39035c95c092384c8c..789161f4e97bf9231ef9d65e7ee2b196b95527bb 100644 (file)
@@ -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
index c316cb0b829e9596c91536448f811263938a55bb..8b5afcb5121788656b8bca1fae09c02da4d4677e 100644 (file)
@@ -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