File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Continuous Integration
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches : main
7+ pull_request :
8+ branches : main
9+
10+ jobs :
11+ test :
12+ runs-on : ubuntu-latest
13+
14+ strategy :
15+ matrix :
16+ ruby : [2.7.0, 3.0.1]
17+ gemfile :
18+ - gemfiles/jekyll_3.7.x.gemfile
19+ - gemfiles/jekyll_4.x.x.gemfile
20+
21+ env :
22+ BUNDLE_GEMFILE : ${{ matrix.gemfile }}
23+ # CC_TEST_REPORTER_ID: 9a84a9f695de3b120b6fcead4e089b45420f7518fb2123dc5424f862d381c4ff
24+
25+ steps :
26+ - name : Checkout code
27+ uses : actions/checkout@v4
28+
29+ - name : Set up Ruby
30+ uses : ruby/setup-ruby@v1
31+ with :
32+ ruby-version : ${{ matrix.ruby }}
33+ bundler-cache : true
34+ bundler : 2.2.18
35+
36+ - name : Run tests
37+ run : bundle exec rake spec
38+
39+ - name : Run linting
40+ run : bundle exec rake rubocop
You can’t perform that action at this time.
0 commit comments