Bump version to 0.2.0 (#2) #27
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: Main Pipeline | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: Rubocop | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Run rubocop | |
run: bundle exec rubocop | |
test: | |
runs-on: ubuntu-latest | |
name: Ruby ${{ matrix.ruby }} | |
strategy: | |
matrix: | |
ruby: | |
- '3.2' | |
- '3.3' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run testsuite | |
run: bundle exec rake | |
verify: | |
runs-on: ubuntu-latest | |
name: Verify | |
strategy: | |
matrix: | |
plugin: | |
- minitest | |
- rspec | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
- name: Run example testsuite | |
run: | | |
cd examples/${{ matrix.plugin }} | |
rm -f .test-map.yml | |
bundle install | |
bundle exec rake | |
sha1sum --check .test-map.yml.sha1 |