summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml22
1 files changed, 7 insertions, 15 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e86976c..358e9dd 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -2,43 +2,35 @@
name: Continuous Integration
on:
push:
- branches: [main]
pull_request:
- branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
- ruby-version: ['2.5', '2.6', '2.7']
+ ruby-version: ['2.7', '3.0', '3.1']
steps:
- uses: actions/checkout@v2
- - name: Set up Ruby
- uses: ruby/setup-ruby@v1
+ - uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- - name: Running tests…
- run: sh bin/test
+ - run: sh bin/test
style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - name: Set up Ruby
- uses: ruby/setup-ruby@v1
+ - uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
bundler-cache: true
- - name: Running style checks…
- run: sh bin/style
+ - run: sh bin/style
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - name: Set up Ruby
- uses: ruby/setup-ruby@v1
+ - uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
bundler-cache: true
- - name: Running audit…
- run: sh bin/audit
+ - run: sh bin/audit