File tree Expand file tree Collapse file tree 2 files changed +2
-65
lines changed Expand file tree Collapse file tree 2 files changed +2
-65
lines changed Original file line number Diff line number Diff line change 66 branches : [ main ]
77 pull_request :
88 branches : [ main ]
9+ workflow_dispatch :
910
1011jobs :
1112 static_code_analysis :
12- name : Run checks
13-
14- env :
15- ruby_version : ' 2.7'
16-
17- runs-on : ' ubuntu-20.04'
18- steps :
19- - name : Checkout current PR code
20- uses : actions/checkout@v4
21- with :
22- fetch-depth : 0
23-
24- - name : Install ruby version ${{ env.ruby_version }}
25- uses : ruby/setup-ruby@v1
26- with :
27- ruby-version : ${{ env.ruby_version }}
28-
29- - name : Prepare testing environment with bundler
30- run : |
31- git config --global core.longpaths true
32- bundle config set --local without 'release'
33- bundle update --jobs 4 --retry 3
34-
35- - name : Run commits check
36- run : bundle exec rake commits
37-
38- - name : Run validate check
39- run : bundle exec rake validate
40-
41- - name : Run lint check
42- run : bundle exec rake lint
43-
44- - name : Run metadata_lint check
45- run : bundle exec rake metadata_lint
46-
47- - name : Run syntax check
48- run : bundle exec rake syntax syntax:hiera syntax:manifests syntax:templates
49-
50- - name : Run rubocop check
51- run : bundle exec rake rubocop
13+ uses : " puppetlabs/phoenix-github-actions/.github/workflows/static_code_analysis.yaml@main"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments