From 277b4c81b7311eeb97deb989ea65bcd38ad44e37 Mon Sep 17 00:00:00 2001 From: Benjamin Fleischer Date: Thu, 25 Apr 2024 12:04:07 -0500 Subject: [PATCH 1/3] ci: remove TravisCI --- .travis.yml | 15 --------------- README.md | 1 - features/readme.md | 2 -- 3 files changed, 18 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f219b701..00000000 --- a/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -language: ruby -rvm: - - 2.1.8 - - 2.2.4 - - 2.3.0 - - 2.4.9 - - 2.5.8 - - 2.6.6 -gemfile: - - Gemfile -script: - - bundle exec rake -branches: - only: - - master diff --git a/README.md b/README.md index 3a02de80..3c413732 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ -[![Build Status](https://travis-ci.org/zipmark/rspec_api_documentation.svg?branch=master)](https://travis-ci.org/zipmark/rspec_api_documentation) [![Code Climate](https://codeclimate.com/github/zipmark/rspec_api_documentation/badges/gpa.svg)](https://codeclimate.com/github/zipmark/rspec_api_documentation) [![Inline docs](https://inch-ci.org/github/zipmark/rspec_api_documentation.svg?branch=master)](https://inch-ci.org/github/zipmark/rspec_api_documentation) [![Gem Version](https://badge.fury.io/rb/rspec_api_documentation.svg)](https://badge.fury.io/rb/rspec_api_documentation) diff --git a/features/readme.md b/features/readme.md index 8b424a20..365510ec 100644 --- a/features/readme.md +++ b/features/readme.md @@ -1,5 +1,3 @@ -[![Travis status](https://secure.travis-ci.org/zipmark/rspec_api_documentation.png)](https://secure.travis-ci.org/zipmark/rspec_api_documentation) - http://github.com/zipmark/rspec_api_documentation # RSpec API Doc Generator From 7c25673d3e31fa04fed21154dcf3144eee7266c8 Mon Sep 17 00:00:00 2001 From: Benjamin Fleischer Date: Thu, 25 Apr 2024 12:10:59 -0500 Subject: [PATCH 2/3] ci: add github actions ci workflow --- .github/workflows/ci.yml | 65 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 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 00000000..f74c1b8a --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,65 @@ +--- + +name: CI + +on: [push, pull_request] + +jobs: + test: + name: "Testing" + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + include: + # Recent Rubies and Rails + - ruby-version: '3.2' + - ruby-version: '3.1' + - ruby-version: '3.0' + - ruby-version: '2.7' + - ruby-version: '2.6' + - ruby-version: '2.6' + - ruby-version: '2.7' + - ruby-version: '2.6' + # Old Rubies and Rails + - ruby-version: '2.5' + bundler: '1' + - ruby-version: '2.4' + bundler: '1' + - ruby-version: '2.4' + bundler: '1' + # Failing with a stack trace in active support + # - ruby-version: '2.4' + # rails-version: '4.1' + # bundler: '1' + + continue-on-error: "${{ endsWith(matrix.ruby-version, 'head') }}" + + env: + CI: "1" + + steps: + - name: "Checkout Code" + uses: "actions/checkout@v2" + timeout-minutes: 5 + with: + fetch-depth: 0 + + # - name: Install required libs + # run: | + # sudo apt-get -yqq install libsqlite3-dev + + - name: "Build Ruby" + uses: ruby/setup-ruby@v1 + with: + ruby-version: "${{ matrix.ruby-version }}" + bundler: "${{ matrix.bundler || 2 }}" + bundler-cache: true + # env: + # RAILS_VERSION: ${{ matrix.rails-version }} + + - name: "Run tests" + run: | + bundle exec rake + # env: + # RAILS_VERSION: ${{ matrix.rails-version }} From 876cf4a620813c58b753ba073f6e18d7f7aafcc9 Mon Sep 17 00:00:00 2001 From: Benjamin Fleischer Date: Thu, 25 Apr 2024 12:11:16 -0500 Subject: [PATCH 3/3] deps(dependabot): add dependabot config --- .github/dependabot.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..3e16eafe --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,13 @@ +version: 2 +updates: +- package-ecosystem: "github-actions" + directory: "/" + schedule: + # Check for updates to GitHub Actions every weekday + interval: "daily" +- package-ecosystem: bundler + directory: "/" + schedule: + interval: daily + time: "11:00" + open-pull-requests-limit: 10