diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2bacff1..fb7f42f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,9 +2,9 @@ name: Ruby Test on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] jobs: build: @@ -15,15 +15,15 @@ jobs: packages: write steps: - - uses: actions/checkout@v2 - - name: Set up Ruby 2.6 - uses: actions/setup-ruby@v1 - with: - ruby-version: 2.6.x + - uses: actions/checkout@v2 + - name: Set up Ruby 2.6 + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.6.x - - name: Build & test - run: | - gem install bundler:2.3.6 - bundle config set --local path 'vendor/bundle' - bundle install - API_USERNAME='${{ secrets.API_USERNAME }}' API_PASSWORD='${{ secrets.API_PASSWORD }}' bundle exec rspec + - name: Build & test + run: | + gem install bundler:2.3.6 + bundle config set --local path 'vendor/bundle' + bundle install + API_USERNAME='${{ secrets.API_USERNAME }}' API_PASSWORD='${{ secrets.API_PASSWORD }}' bundle exec rspec