File tree Expand file tree Collapse file tree 1 file changed +18
-24
lines changed Expand file tree Collapse file tree 1 file changed +18
-24
lines changed Original file line number Diff line number Diff line change 1- # name: Ruby
1+ name : Ruby
22
3- # on:
4- # push:
5- # branches:
6- # - main
3+ on :
4+ pull_request :
5+ branches : [ "main" ]
76
8- # pull_request:
7+ permissions :
8+ contents : read
99
10- # jobs:
11- # build:
12- # runs-on: ubuntu-latest
13- # name: Ruby ${{ matrix.ruby }}
14- # strategy:
15- # matrix:
16- # ruby:
17- # - '3.0.6'
18-
19- # steps:
20- # - uses: actions/checkout@v2
21- # - name: Set up Ruby
22- # uses: ruby/setup-ruby@v1
23- # with:
24- # ruby-version: ${{ matrix.ruby }}
25- # bundler-cache: true
26- # - name: Run the default task
27- # run: bundle exec rake
10+ jobs :
11+ test :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v3
15+ - name : Set up Ruby
16+ uses : ruby/setup-ruby@v1
17+ with :
18+ ruby-version : 3.0.6
19+ bundler-cache : true
20+ - name : Run tests
21+ run : bundle exec rake test
You can’t perform that action at this time.
0 commit comments