Sha256: ff2c2b39221c322f7b4ef18a224c4f3e8646cfd6e723e0a22f7a5132c3cd6fd3
Contents?: true
Size: 1.18 KB
Versions: 3
Compression:
Stored size: 1.18 KB
Contents
name: Ruby Gem on: push: branches: - master pull_request: jobs: build: name: Tests and Code Style runs-on: ubuntu-latest strategy: matrix: ruby: [2.4, 2.5, 2.6] rails: [4, 5, 6] include: - ruby: 2.7 rails: 6 exclude: # rails 6 requires ruby >= 2.5 - ruby: 2.4 rails: 6 steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: actions/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Install sqlite3 run: sudo apt-get install libsqlite3-dev - name: Install bundler env: GEMFILE_PATH: gemfiles/Gemfile_${{ matrix.rails }} RAILS_V: ${{ matrix.rails }} run: | rm -f Gemfile.lock && rm -f Gemfile cp $GEMFILE_PATH ./Gemfile bundler_v='2.1.4' if [ $RAILS_V = "4" ]; then bundler_v="1.16.6"; fi gem install bundler -v "~> $bundler_v" bundle _${bundler_v}_ install --jobs 4 --retry 3 - name: Tests (rspec) run: | bundle exec rspec - name: Code style (Rubocop) run: bundle exec rubocop
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pub_sub_model_sync-0.4.2.1 | .github/workflows/ruby.yml |
pub_sub_model_sync-0.4.2 | .github/workflows/ruby.yml |
pub_sub_model_sync-0.4.1 | .github/workflows/ruby.yml |