Skip to content

Commit e9f6d29

Browse files
Add CI: run rspec + standardrb on push and PRs
The repo had no automated checks, so changes to this deploy gem merged unvalidated. Add a GitHub Actions workflow running the spec suite and standard across the supported Ruby range (3.2 min per the gemspec, plus 3.3). Tool: Claude Code (claude-opus-4-8[1m])
1 parent 3ae7063 commit e9f6d29

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-22.04
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
# Oldest supported (gemspec required_ruby_version) and current.
15+
ruby: ["3.2", "3.3"]
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Set up Ruby ${{ matrix.ruby }}
20+
uses: ruby/setup-ruby@v1
21+
with:
22+
ruby-version: ${{ matrix.ruby }}
23+
bundler-cache: true
24+
25+
- name: RSpec
26+
run: bundle exec rspec
27+
28+
- name: Standard
29+
run: bundle exec standardrb

0 commit comments

Comments
 (0)