File tree Expand file tree Collapse file tree 12 files changed +178
-49
lines changed Expand file tree Collapse file tree 12 files changed +178
-49
lines changed Original file line number Diff line number Diff line change 1+ name : " ci"
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - " main"
7+ workflow_dispatch :
8+
9+ jobs :
10+
11+ spec :
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ ruby_version :
16+ - ' 2.5'
17+ - ' 2.7'
18+ puppet_gem_version :
19+ - ' ~> 6.0'
20+ - ' ~> 7.0'
21+ name : " spec (ruby ${{ matrix.ruby_version }} | ${{ matrix.puppet_gem_version }})"
22+ uses : " puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@main"
23+ secrets : " inherit"
24+ with :
25+ ruby_version : ${{ matrix.ruby_version }}
26+
27+ acceptance :
28+ needs : " spec"
29+ strategy :
30+ fail-fast : false
31+ matrix :
32+ os :
33+ - " ubuntu-latest"
34+ - " windows-latest"
35+ ruby_version :
36+ - " 2.5"
37+ - " 2.7"
38+ puppet_gem_version :
39+ - ' ~> 6.0'
40+ - ' ~> 7.0'
41+ name : " acceptance (${{ matrix.os }} ruby ${{ matrix.ruby_version }} |${{ matrix.puppet_gem_version }})"
42+ uses : " puppetlabs/cat-github-actions/.github/workflows/gem_acceptance.yml@main"
43+ secrets : " inherit"
44+ with :
45+ ruby_version : ${{ matrix.ruby_version }}
46+ rake_task : ' acceptance'
47+ puppet_version : ${{ matrix.puppet_gem_version }}
48+ runs_on : ${{ matrix.os }}
Original file line number Diff line number Diff line change 1+ name : community-labeller
2+
3+ on :
4+ issues :
5+ types :
6+ - opened
7+ pull_request_target :
8+ types :
9+ - opened
10+
11+ jobs :
12+ label :
13+ runs-on : ubuntu-latest
14+ steps :
15+
16+ - uses : puppetlabs/community-labeller@v0
17+ name : Label issues or pull requests
18+ with :
19+ label_name : community
20+ label_color : ' 5319e7'
21+ org_membership : puppetlabs
22+ token : ${{ secrets.IAC_COMMUNITY_LABELER }}
Original file line number Diff line number Diff line change 1+ name : " mend"
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - " main"
7+ schedule :
8+ - cron : " 0 0 * * *"
9+ workflow_dispatch :
10+
11+ jobs :
12+
13+ mend :
14+ uses : " puppetlabs/cat-github-actions/.github/workflows/mend_ruby.yml@main"
15+ secrets : " inherit"
Original file line number Diff line number Diff line change 1+ name : " nightly"
2+
3+ on :
4+ schedule :
5+ - cron : " 0 0 * * *"
6+ workflow_dispatch :
7+
8+ jobs :
9+
10+ spec :
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ ruby_version :
15+ - ' 2.5'
16+ - ' 2.7'
17+ puppet_gem_version :
18+ - ' ~> 6.0'
19+ - ' ~> 7.0'
20+ name : " spec (ruby ${{ matrix.ruby_version }} | ${{ matrix.puppet_gem_version }})"
21+ uses : " puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@main"
22+ secrets : " inherit"
23+ with :
24+ ruby_version : ${{ matrix.ruby_version }}
25+
26+ acceptance :
27+ needs : " spec"
28+ strategy :
29+ fail-fast : false
30+ matrix :
31+ os :
32+ - " ubuntu-latest"
33+ - " windows-latest"
34+ ruby_version :
35+ - " 2.5"
36+ - " 2.7"
37+ puppet_gem_version :
38+ - ' ~> 6.0'
39+ - ' ~> 7.0'
40+ name : " acceptance (${{ matrix.os }} ruby ${{ matrix.ruby_version }} |${{ matrix.puppet_gem_version }})"
41+ uses : " puppetlabs/cat-github-actions/.github/workflows/gem_acceptance.yml@main"
42+ secrets : " inherit"
43+ with :
44+ ruby_version : ${{ matrix.ruby_version }}
45+ rake_task : ' acceptance'
46+ puppet_version : ${{ matrix.puppet_gem_version }}
47+ runs_on : ${{ matrix.os }}
Original file line number Diff line number Diff line change 1+ name : " Release"
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ target :
7+ description : " The target for the release. This can be a commit sha or a branch."
8+ required : false
9+ default : " main"
10+
11+ jobs :
12+ release :
13+ uses : " puppetlabs/cat-github-actions/.github/workflows/gem_release.yml@main"
14+ with :
15+ target : " ${{ github.event.inputs.target }}"
16+ secrets : " inherit"
Original file line number Diff line number Diff line change 1+ name : " Release Prep"
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ target :
7+ description : " The target for the release. This can be a commit sha or a branch."
8+ required : false
9+ default : " main"
10+ version :
11+ description : " Version of gem to be released."
12+ required : true
13+
14+ jobs :
15+ release_prep :
16+ uses : " puppetlabs/cat-github-actions/.github/workflows/gem_release_prep.yml@main"
17+ with :
18+ target : " ${{ github.event.inputs.target }}"
19+ version : " ${{ github.event.inputs.version }}"
20+ secrets : " inherit"
Original file line number Diff line number Diff line change 11require : rubocop-rspec
22
33AllCops :
4- TargetRubyVersion : 2.3
4+ TargetRubyVersion : 2.5
55 Exclude :
66 # binstubs, and other utilities
77 - bin/**/*
@@ -178,3 +178,6 @@ Lint/RaiseException:
178178
179179Lint/StructNewOverride :
180180 Enabled : true
181+
182+ RSpec/MultipleMemoizedHelpers :
183+ Max : 14
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -11,8 +11,9 @@ group :development do
1111 gem 'rake' , '~> 12.0'
1212 gem 'rspec' , '~> 3.0'
1313
14- gem 'rubocop' , [ '~> 0.68' , '< 0.82.0' ]
15- gem 'rubocop-rspec' , '~> 1.38'
14+ gem 'rubocop' , '= 1.6.1' , require : false
15+ gem 'rubocop-performance' , '= 1.9.1' , require : false
16+ gem 'rubocop-rspec' , '= 2.0.1' , require : false
1617
1718 gem 'codecov' , '~> 0.1'
1819 gem 'github_changelog_generator' , '~> 1.15' , require : false
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments