File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Validate Puppetcore Gem Sources
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ ref :
7+ description : ' Branch, tag or SHA to checkout'
8+ required : true
9+ default : ' main'
10+
11+ jobs :
12+ verify-gemfile :
13+ runs-on : ubuntu-latest
14+ name : Verify Gemfile Dependencies
15+
16+ env :
17+ PUPPET_FORGE_TOKEN : ${{ secrets.PUPPET_FORGE_TOKEN }}
18+ BUNDLE_RUBYGEMS___PUPPETCORE__PUPPET__COM : " forge-key:${{ secrets.PUPPET_FORGE_TOKEN }}"
19+
20+ steps :
21+ - name : Checkout repository
22+ uses : actions/checkout@v4
23+ with :
24+ ref : ${{ github.event.inputs.ref }}
25+
26+ - name : Set up Ruby
27+ uses : ruby/setup-ruby@v1
28+ with :
29+ ruby-version : ' 3.1'
30+ bundler-cache : true
31+
32+ - name : Install dependencies
33+ run : bundle install
34+
35+ - name : Validate puppetcore gem sources
36+ run : bundle exec rspec spec/support/puppetcore_spec.rb --format documentation
You can’t perform that action at this time.
0 commit comments