1111# The testing matrix considers ruby/puppet versions supported by SIMP and PE:
1212# ------------------------------------------------------------------------------
1313# 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
1616#
1717# https://puppet.com/docs/pe/latest/component_versions_in_recent_pe_releases.html
1818# https://puppet.com/misc/puppet-enterprise-lifecycle
1919# ==============================================================================
2020#
2121# https://docs.github.com/en/actions/reference/events-that-trigger-workflows
2222#
23-
23+ ---
2424name : PR Tests
25- on :
25+ ' on ' :
2626 pull_request :
2727 types : [opened, reopened, synchronize]
2828
2929env :
30- PUPPET_VERSION : ' ~> 7 '
30+ PUPPET_VERSION : ' ~> 8 '
3131
3232jobs :
3333 puppet-syntax :
3838 - name : " Install Ruby ${{matrix.puppet.ruby_version}}"
3939 uses : ruby/setup-ruby@v1 # ruby/setup-ruby@ec106b438a1ff6ff109590de34ddc62c540232e0
4040 with :
41- ruby-version : 2.7
41+ ruby-version : 3.2
4242 bundler-cache : true
4343 - run : " bundle exec rake syntax"
4444
@@ -50,13 +50,13 @@ jobs:
5050 - name : " Install Ruby ${{matrix.puppet.ruby_version}}"
5151 uses : ruby/setup-ruby@v1
5252 with :
53- ruby-version : 2.7
53+ ruby-version : 3.2
5454 bundler-cache : true
5555 - run : " bundle exec rake lint"
5656 - run : " bundle exec rake metadata_lint"
5757
5858 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
6060 name : ' Ruby Style (experimental)'
6161 runs-on : ubuntu-latest
6262 continue-on-error : true
6565 - name : " Install Ruby ${{matrix.puppet.ruby_version}}"
6666 uses : ruby/setup-ruby@v1
6767 with :
68- ruby-version : 2.7
68+ ruby-version : 3.2
6969 bundler-cache : true
7070 - run : |
7171 bundle show
@@ -76,10 +76,10 @@ jobs:
7676 runs-on : ubuntu-latest
7777 steps :
7878 - uses : actions/checkout@v3
79- - name : ' Install Ruby 2.7 '
79+ - name : ' Install Ruby 3.2 '
8080 uses : ruby/setup-ruby@v1
8181 with :
82- ruby-version : 2.7
82+ ruby-version : 3.2
8383 bundler-cache : true
8484 - run : bundle exec rake check:dot_underscore
8585 - run : bundle exec rake check:test_file
9292 - name : ' Install Ruby ${{matrix.puppet.ruby_version}}'
9393 uses : ruby/setup-ruby@v1
9494 with :
95- ruby-version : 2.7
95+ ruby-version : 3.2
9696 bundler-cache : true
9797 - name : ' Tags and changelogs'
9898 run : |
0 commit comments