Skip to content

Commit bd241a1

Browse files
(CAT-2296) Update github runner image to ubuntu-latest
ubuntu-20.04 is not supported anymore: actions/runner-images#11101 Fixed a rubocop offense. Upgraded ruby to 3.1 since there is some syntax introduced in puppetlabs/provision#285 which is only compatible with ruby 3.1+.
1 parent cbda780 commit bd241a1

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.github/workflows/ci.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,24 @@ jobs:
1010
Spec:
1111
uses: "puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main"
1212
with:
13-
runs_on: "ubuntu-20.04"
13+
runs_on: "ubuntu-latest"
1414
secrets: "inherit"
1515

1616
setup_matrix:
1717
name: "Setup Test Matrix"
1818
needs: "Spec"
19-
runs-on: ubuntu-20.04
19+
runs-on: ubuntu-latest
2020
outputs:
2121
matrix: ${{ steps.get-matrix.outputs.matrix }}
2222

2323
steps:
2424
- name: Checkout Source
2525
uses: actions/checkout@v3
2626

27-
- name: Activate Ruby 2.7
27+
- name: Activate Ruby 3.1
2828
uses: ruby/setup-ruby@v1
2929
with:
30-
ruby-version: "2.7"
30+
ruby-version: "3.1"
3131
bundler-cache: true
3232

3333
- name: Print bundle environment
@@ -47,7 +47,7 @@ jobs:
4747
- setup_matrix
4848
if: ${{ needs.setup_matrix.outputs.matrix != '{}' }}
4949

50-
runs-on: ubuntu-20.04
50+
runs-on: ubuntu-latest
5151
strategy:
5252
fail-fast: false
5353
matrix: ${{fromJson(needs.setup_matrix.outputs.matrix)}}
@@ -60,10 +60,10 @@ jobs:
6060
- name: Checkout Source
6161
uses: actions/checkout@v3
6262

63-
- name: Activate Ruby 2.7
63+
- name: Activate Ruby 3.1
6464
uses: ruby/setup-ruby@v1
6565
with:
66-
ruby-version: "2.7"
66+
ruby-version: "3.1"
6767
bundler-cache: true
6868

6969
- name: Print bundle environment

.github/workflows/nightly.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,24 @@ jobs:
99
Spec:
1010
uses: "puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main"
1111
with:
12-
runs_on: "ubuntu-20.04"
12+
runs_on: "ubuntu-latest"
1313
secrets: "inherit"
1414

1515
setup_matrix:
1616
name: "Setup Test Matrix"
1717
needs: "Spec"
18-
runs-on: ubuntu-20.04
18+
runs-on: ubuntu-latest
1919
outputs:
2020
matrix: ${{ steps.get-matrix.outputs.matrix }}
2121

2222
steps:
2323
- name: Checkout Source
2424
uses: actions/checkout@v3
2525

26-
- name: Activate Ruby 2.7
26+
- name: Activate Ruby 3.1
2727
uses: ruby/setup-ruby@v1
2828
with:
29-
ruby-version: "2.7"
29+
ruby-version: "3.1"
3030
bundler-cache: true
3131

3232
- name: Print bundle environment
@@ -46,7 +46,7 @@ jobs:
4646
- setup_matrix
4747
if: ${{ needs.setup_matrix.outputs.matrix != '{}' }}
4848

49-
runs-on: ubuntu-20.04
49+
runs-on: ubuntu-latest
5050
strategy:
5151
fail-fast: false
5252
matrix: ${{fromJson(needs.setup_matrix.outputs.matrix)}}
@@ -59,10 +59,10 @@ jobs:
5959
- name: Checkout Source
6060
uses: actions/checkout@v3
6161

62-
- name: Activate Ruby 2.7
62+
- name: Activate Ruby 3.1
6363
uses: ruby/setup-ruby@v1
6464
with:
65-
ruby-version: "2.7"
65+
ruby-version: "3.1"
6666
bundler-cache: true
6767

6868
- name: Print bundle environment

manifests/backup/mysqlbackup.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
}
4646

4747
package { 'meb':
48-
ensure => $ensure,
48+
ensure => $ensure,
4949
}
5050

5151
# http://dev.mysql.com/doc/mysql-enterprise-backup/3.11/en/mysqlbackup.privileges.html

0 commit comments

Comments
 (0)