Skip to content

Commit 5e11a66

Browse files
committed
use shared config for CI
1 parent 5d6e649 commit 5e11a66

1 file changed

Lines changed: 2 additions & 37 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,5 @@ name: CI
33
on: [push, pull_request]
44

55
jobs:
6-
rspec:
7-
runs-on: ubuntu-latest
8-
strategy:
9-
matrix:
10-
ruby:
11-
# See comment comes from https://github.com/ruby/setup-ruby#matrix-of-ruby-versions
12-
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
13-
- '3.0'
14-
- 3.1
15-
- 3.2
16-
- 3.3
17-
env:
18-
BUNDLE_GEMFILE: Gemfile
19-
name: "RSpec tests: Ruby ${{ matrix.ruby }}"
20-
steps:
21-
- uses: actions/checkout@v4
22-
- name: Set up Ruby ${{ matrix.ruby }}
23-
uses: ruby/setup-ruby@v1
24-
with:
25-
bundler-cache: true
26-
ruby-version: ${{ matrix.ruby }}
27-
- name: Run tests
28-
run: bundle exec rspec
29-
static_checks:
30-
name: "Static Checks"
31-
runs-on: ubuntu-latest
32-
steps:
33-
- uses: actions/checkout@v4
34-
- name: Set up Ruby
35-
uses: ruby/setup-ruby@v1
36-
with:
37-
bundler-cache: true
38-
ruby-version: head
39-
- name: Run static type checks
40-
run: bundle exec srb tc
41-
- name: Run static rubocop checks
42-
run: bundle exec rubocop
6+
call-workflow-from-shared-config:
7+
uses: rubyatscale/shared-config/.github/workflows/ci.yml@main

0 commit comments

Comments
 (0)