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