mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-03-25 08:55:47 +00:00
* 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>
23 lines
520 B
YAML
23 lines
520 B
YAML
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/
|