11
11
# The testing matrix considers ruby/puppet versions supported by SIMP and PE:
12
12
# ------------------------------------------------------------------------------
13
13
# Release Puppet Ruby EOL
14
- # PE 2019.8 6.22 2.5 2022-12 (LTS)
15
- # PE 2021 .Y 7 .x 2.7 Quarterly updates
14
+ # PE 2021.Y 7.x 2.7 2025-02 (LTS)
15
+ # PE 2023 .Y 8 .x 3.2 Biannual updates
16
16
#
17
17
# https://puppet.com/docs/pe/latest/component_versions_in_recent_pe_releases.html
18
18
# https://puppet.com/misc/puppet-enterprise-lifecycle
19
19
# ==============================================================================
20
20
#
21
21
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows
22
22
#
23
-
23
+ ---
24
24
name : PR Tests
25
- on :
25
+ ' on ' :
26
26
pull_request :
27
27
types : [opened, reopened, synchronize]
28
28
29
29
env :
30
- PUPPET_VERSION : ' ~> 7 '
30
+ PUPPET_VERSION : ' ~> 8 '
31
31
32
32
jobs :
33
33
puppet-syntax :
38
38
- name : " Install Ruby ${{matrix.puppet.ruby_version}}"
39
39
uses : ruby/setup-ruby@v1 # ruby/setup-ruby@ec106b438a1ff6ff109590de34ddc62c540232e0
40
40
with :
41
- ruby-version : 2.7
41
+ ruby-version : 3.2
42
42
bundler-cache : true
43
43
- run : " bundle exec rake syntax"
44
44
@@ -50,13 +50,13 @@ jobs:
50
50
- name : " Install Ruby ${{matrix.puppet.ruby_version}}"
51
51
uses : ruby/setup-ruby@v1
52
52
with :
53
- ruby-version : 2.7
53
+ ruby-version : 3.2
54
54
bundler-cache : true
55
55
- run : " bundle exec rake lint"
56
56
- run : " bundle exec rake metadata_lint"
57
57
58
58
ruby-style :
59
- if : false # TODO Modules will need: rubocop in Gemfile, .rubocop.yml
59
+ if : false # TODO Modules will need: rubocop in Gemfile, .rubocop.yml
60
60
name : ' Ruby Style (experimental)'
61
61
runs-on : ubuntu-latest
62
62
continue-on-error : true
65
65
- name : " Install Ruby ${{matrix.puppet.ruby_version}}"
66
66
uses : ruby/setup-ruby@v1
67
67
with :
68
- ruby-version : 2.7
68
+ ruby-version : 3.2
69
69
bundler-cache : true
70
70
- run : |
71
71
bundle show
@@ -76,10 +76,10 @@ jobs:
76
76
runs-on : ubuntu-latest
77
77
steps :
78
78
- uses : actions/checkout@v3
79
- - name : ' Install Ruby 2.7 '
79
+ - name : ' Install Ruby 3.2 '
80
80
uses : ruby/setup-ruby@v1
81
81
with :
82
- ruby-version : 2.7
82
+ ruby-version : 3.2
83
83
bundler-cache : true
84
84
- run : bundle exec rake check:dot_underscore
85
85
- run : bundle exec rake check:test_file
92
92
- name : ' Install Ruby ${{matrix.puppet.ruby_version}}'
93
93
uses : ruby/setup-ruby@v1
94
94
with :
95
- ruby-version : 2.7
95
+ ruby-version : 3.2
96
96
bundler-cache : true
97
97
- name : ' Tags and changelogs'
98
98
run : |
0 commit comments