.github/workflows/ci.yml in braze_ruby-0.3.3 vs .github/workflows/ci.yml in braze_ruby-0.4.0

- old
+ new

@@ -5,15 +5,26 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 + - name: Set up Ruby - uses: actions/setup-ruby@v1 + uses: ruby/setup-ruby@v1 with: - ruby-version: 2.6.x + ruby-version: 2.6 + + - name: Cache gems + uses: actions/cache@v1 + with: + path: vendor/bundle + key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} + restore-keys: | + ${{ runner.os }}-gems- + - name: Build and test run: | gem install bundler + bundle config path vendor/bundle bundle install --jobs 4 --retry 3 bundle exec rake spec