File tree Expand file tree Collapse file tree 2 files changed +51
-0
lines changed
Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Linting
2+
3+ on :
4+ pull_request :
5+ branches : [main]
6+ push :
7+ branches : [main]
8+
9+ jobs :
10+ run-linters :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v4
16+
17+ - name : Setup Ruby and install gems
18+ uses : ruby/setup-ruby@v1
19+ with :
20+ bundler-cache : true
21+
22+ - name : Lint Ruby code
23+ run : |
24+ bin/standardrb
Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on :
4+ pull_request :
5+ branches : [main]
6+ push :
7+ branches : [main]
8+
9+ jobs :
10+ run-tests :
11+ runs-on : ubuntu-latest
12+
13+ env :
14+ RACK_ENV : test
15+
16+ steps :
17+ - name : Checkout code
18+ uses : actions/checkout@v4
19+
20+ - name : Setup Ruby and install gems
21+ uses : ruby/setup-ruby@v1
22+ with :
23+ bundler-cache : true
24+
25+ - name : Run tests
26+ run : |
27+ bin/rspec
You can’t perform that action at this time.
0 commit comments