Implement GitHub actions ci (#85)

* setup github actions ci

* add ruby 3.0 in versions to test

* Drop really old EOL Ruby versions, remove DISABLE_SPRING

---------

Co-authored-by: Sami Samhuri <sami@samhuri.net>
This commit is contained in:
Eshton Robateau 2025-06-27 05:34:33 -06:00 committed by GitHub
parent 6e562a2788
commit cc29dc7868
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 24 additions and 0 deletions

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

@ -0,0 +1,23 @@
name: Grape Logging CI
on:
push:
branches: [master]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ["3.0", "3.1", "3.2", "3.3"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rspec spec/

1
.gitignore vendored
View file

@ -8,3 +8,4 @@
/spec/reports/
/tmp/
.rspec
.idea/