Skip to content

Commit

Permalink
Merge pull request #227 from gocardless/joesouthan/gh-actions
Browse files Browse the repository at this point in the history
Use gh actions
  • Loading branch information
JoeSouthan authored Oct 28, 2022
2 parents 7f4f317 + 8da982f commit 9f07fb7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 37 deletions.
37 changes: 0 additions & 37 deletions .circleci/config.yml

This file was deleted.

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

on:
push:

jobs:
validate:
strategy:
matrix:
ruby-version: [2.6, 2.7, 3.0, 3.1]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: "${{ matrix.ruby-version }}"
- name: Run tests
run: bundle exec rspec
- name: Run rubocop
run: bundle exec rubocop --parallel --extra-details --display-style-guide

0 comments on commit 9f07fb7

Please sign in to comment.