Add Asset and Organization resources #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build + Test | |
on: [pull_request] | |
jobs: | |
build: | |
name: Build + Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby: [ '2.6', '2.7', '3.0', '3.1', '3.2', '3.3'] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Ruby ${{ matrix.ruby }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Build and test with Rake with Ruby ${{ matrix.ruby }} | |
run: bundle exec rake spec | |
lint: | |
name: Rubocop | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Ruby 2.6 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.6 | |
bundler-cache: true | |
- name: Run linters | |
run: bundle exec rake rubocop |