From cc29dc7868f11fc839a7de4c5b9f4a08c2a1a7f0 Mon Sep 17 00:00:00 2001 From: Eshton Robateau Date: Fri, 27 Jun 2025 05:34:33 -0600 Subject: [PATCH] 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 --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ .gitignore | 1 + 2 files changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..f9ec785 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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/ diff --git a/.gitignore b/.gitignore index fe95d4d..71863b9 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /spec/reports/ /tmp/ .rspec +.idea/ \ No newline at end of file