Skip to content

Commit ba1f296

Browse files
committed
Add CI quality checks
Run lint, doc checks, and security scans in CI on Ruby 3.4, installing Semgrep with pip for reliability.
1 parent d59a8d4 commit ba1f296

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,18 @@ jobs:
3535
if: matrix.ruby == '3.4'
3636
- run: bundle exec rake gemspec
3737
- run: bundle exec rake gem:package
38+
39+
quality:
40+
name: Quality Checks (Ruby 3.4)
41+
runs-on: ubuntu-latest
42+
steps:
43+
- uses: actions/checkout@v4
44+
- uses: ruby/setup-ruby@v1
45+
with:
46+
ruby-version: "3.4"
47+
bundler-cache: true
48+
- name: Install Semgrep
49+
run: python -m pip install semgrep
50+
- run: bundle exec rake lint
51+
- run: bundle exec rake doc:check
52+
- run: bundle exec rake security

0 commit comments

Comments
 (0)