File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Lint
2+
3+ on : [pull_request]
4+
5+ permissions :
6+ contents : read
7+
8+ jobs :
9+ check-gems :
10+ name : Check gem files
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout Code
14+ uses : actions/checkout@v6
15+ with :
16+ persist-credentials : false
17+ - uses : ruby/setup-ruby@v1
18+ with :
19+ ruby-version : ' 3.2' # Not needed with a .ruby-version file
20+ bundler : ' default'
21+ bundler-cache : true # runs 'bundle install' and caches installed gems automatically
22+ - run : bundle exec .check.rb
Original file line number Diff line number Diff line change 1- name : Lint
1+ name : pre-commit
22
33on : [pull_request]
44
5+ permissions :
6+ contents : read
7+
58jobs :
6- check-gems :
7- name : Check gem files
8- runs-on : ubuntu-latest
9- steps :
10- - uses : actions/checkout@v6
11- - uses : ruby/setup-ruby@v1
12- with :
13- ruby-version : ' 3.2' # Not needed with a .ruby-version file
14- bundler : ' default'
15- bundler-cache : true # runs 'bundle install' and caches installed gems automatically
16- - run : bundle exec .check.rb
179 pre-commit :
1810 name : Run pre-commit # https://pre-commit.com/
1911 runs-on : ubuntu-latest
2012 steps :
21- - uses : actions/checkout@v6
13+ - name : Checkout Code
14+ uses : actions/checkout@v6
15+ with :
16+ persist-credentials : false
2217 - uses : actions/setup-python@v6 # https://www.python.org/
2318 with :
2419 python-version : ' 3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ name: Super-Linter
33
44on : [pull_request]
55
6+ permissions :
7+ contents : read
8+
69jobs :
710 build :
811 name : Lint Code Base
1316 with :
1417 # Full git history is needed to get a proper list of changed files within `super-linter`
1518 fetch-depth : 0
19+ persist-credentials : false
1620 - name : Lint Code Base
1721 uses : super-linter/super-linter/slim@v8.5.0
1822 env :
You can’t perform that action at this time.
0 commit comments