diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 14189cf..c2b098e 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -17,13 +17,20 @@ jobs: test: runs-on: ubuntu-latest container: - image: welaika/wordmove:alpine + image: welaika/wordmove:latest steps: - uses: actions/checkout@v2 + - name: Cache gems + uses: actions/cache@v2 + with: + path: .vendor/bundle + key: ${{ hashFiles('wordmove.gemspec') }} - name: Install bundler run: gem install bundler:2.3.3 - name: Install dependencies - run: bundle install + run : | + bundle config set path .vendor/bundle + bundle install - name: Run tests run: bundle exec rake