summaryrefslogtreecommitdiff
path: root/lib/bundler/templates/newgem/.github/workflows/main.yml.tt
blob: 40112f661a8addcd46bfe21f5727e79a8c55b2f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: Ruby

on: [push,pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: <%= RUBY_VERSION %>
    - name: Run tests
      run: |
        gem install bundler -v <%= Bundler::VERSION %>
        bundle install
        bundle exec rake