File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-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_AUTH_TOKEN : ${{ secrets.PUPPET_AUTH_TOKEN }}
18
+ BUNDLE_RUBYGEMS___PUPPETCORE__PUPPET__COM : " forge-key:${{ secrets.PUPPET_AUTH_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.2'
30
+ bundler-cache : true
31
+ cache-version : 0 # Helps manage cache versions explicitly
32
+ working-directory : .
33
+
34
+ - name : Install dependencies
35
+ run : bundle install
36
+
37
+ - name : Run Gemfile verification test
38
+ run : bundle exec rspec spec/support/gemfile_spec.rb --format documentation
You can’t perform that action at this time.
0 commit comments