diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 6415d43..566edb8 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -2,9 +2,9 @@ name: Ruby on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: build: @@ -12,11 +12,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up Ruby 2.6 - uses: actions/setup-ruby@v1 + - uses: actions/checkout@v3 + - name: Set up Ruby 2.7 + uses: ruby/setup-ruby@v1 with: - ruby-version: 2.6.x + ruby-version: '2.7' - name: Build and test with Rake run: | gem install bundler