Add GitHub Actions CI workflow

This commit is contained in:
Sami Samhuri 2026-02-07 19:53:48 -08:00
parent 664a458c35
commit cb82a6598a
No known key found for this signature in database

60
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,60 @@
name: CI
on:
push:
pull_request:
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
- name: Bootstrap
run: bin/bootstrap
- name: Coverage
run: bundle exec bake coverage
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
- name: Bootstrap
run: bin/bootstrap
- name: Lint
run: bundle exec bake lint
debug:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
- name: Bootstrap
run: bin/bootstrap
- name: Debug Build
run: bundle exec bake debug