File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+
9+ jobs :
10+ rubocop :
11+ name : Rubocop
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v4
16+ - name : Setup Ruby and install gems
17+ uses : ruby/setup-ruby@v1
18+ with :
19+ ruby-version : 3.4
20+ bundler-cache : true
21+ - name : Run rubocop
22+ run : bin/rubocop
23+
24+ tests :
25+ name : Tests
26+ runs-on : ubuntu-latest
27+ strategy :
28+ fail-fast : false
29+ matrix :
30+ ruby-version :
31+ - 3.2
32+ - 3.3
33+ - 3.4
34+ steps :
35+ - name : Checkout code
36+ uses : actions/checkout@v4
37+ - name : Setup Ruby and install gems
38+ uses : ruby/setup-ruby@v1
39+ with :
40+ ruby-version : ${{ matrix.ruby-version }}
41+ bundler-cache : true
42+ - name : Run tests
43+ run : bin/rails test
You can’t perform that action at this time.
0 commit comments