Skip to content

Commit

Permalink
Replace CircleCI config with GH Actions CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aharpervc committed Aug 29, 2024
1 parent 5a06f56 commit 205cf07
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 56 deletions.
56 changes: 0 additions & 56 deletions .circleci/config.yml

This file was deleted.

53 changes: 53 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: ci

on:
pull_request:
push:
branches:
- master

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
ruby-version:
- '2.7'
- '3.0'
- '3.1'

name: test (ruby ${{ matrix.ruby-version }})

permissions:
contents: read
checks: write

env:
LATEST_RUBY_VERSION: '3.1'
BUNDLE_DEPLOYMENT: true
BUNDLE_CACHE_ALL: true
BUNDLE_ONLY: default test
CI: true

steps:
- uses: actions/checkout@v4

- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true

- run: bundle lock

- run: bundle cache --no-install
env:
BUNDLE_DEPLOYMENT: false

- run: bundle check || bundle install --local

- run: bundle exec rake test

0 comments on commit 205cf07

Please sign in to comment.