Skip to content

Commit 2ca9c8c

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 2ca9c8c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
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)}}

manifests/backup/mysqlbackup.pp

Lines changed: 1 addition & 1 deletion
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)