There was an error while loading. Please reload this page.
1 parent ce0fe11 commit d23bc12Copy full SHA for d23bc12
1 file changed
.github/workflows/main.yml
@@ -0,0 +1,30 @@
1
+name: main
2
+
3
+on:
4
+ push:
5
+ branches: [ "master" ]
6
+ pull_request:
7
8
9
+permissions:
10
+ contents: read
11
12
+jobs:
13
+ test:
14
15
+ runs-on: ubuntu-latest
16
+ strategy:
17
+ matrix:
18
+ ruby-version: ['2.3.3', '2.5.1', '2.7.0']
19
20
+ steps:
21
+ - uses: actions/checkout@v3
22
+ - name: Set up Ruby
23
+ uses: ruby/setup-ruby@v1
24
+ with:
25
+ ruby-version: ${{ matrix.ruby-version }}
26
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
27
+ - name: Lint
28
+ run: bundle exec rubocop
29
+ - name: Run specs
30
+ run: bundle exec rspec
0 commit comments