File tree Expand file tree Collapse file tree 2 files changed +2
-63
lines changed Expand file tree Collapse file tree 2 files changed +2
-63
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.6
16- extra_checks : check:symlinks check:git_ignore check:dot_underscore check:test_file
17-
18- runs-on : ' ubuntu-20.04'
19- steps :
20- - name : Checkout current PR code
21- uses : actions/checkout@v4
22- with :
23- fetch-depth : 0
24-
25- - name : Install ruby version ${{ env.ruby_version }}
26- uses : ruby/setup-ruby@v1
27- with :
28- ruby-version : ${{ env.ruby_version }}
29-
30- - name : Prepare testing environment with bundler
31- run : |
32- git config --global core.longpaths true
33- bundle config set --local without 'release'
34- bundle update --jobs 4 --retry 3
35-
36- - name : Run commits check
37- run : bundle exec rake commits
38-
39- - name : Run rubocop check
40- run : bundle exec rake ${{ env.extra_checks }} rubocop
41-
42- - name : Run syntax check
43- run : bundle exec rake ${{ env.extra_checks }} syntax syntax:hiera syntax:manifests syntax:templates
44-
45- - name : Run lint check
46- run : bundle exec rake ${{ env.extra_checks }} lint
47-
48- - name : Run metadata_lint check
49- run : bundle exec rake ${{ env.extra_checks }} metadata_lint
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