Bump mocha from 2.2.0 to 2.4.1 #61
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: CI | |
on: | |
push: | |
branches: | |
- $default-branch | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
jobs: | |
tests: | |
name: Ruby ${{ matrix.ruby }} tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby: | |
- 2.6 | |
- 2.7 | |
- 3.0 | |
- 3.1 | |
- 3.2 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup git | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Test" | |
git config --global init.defaultBranch master | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Install dependencies | |
run: bundle install | |
- name: Run tests | |
run: bundle exec rake test | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
- name: Install dependencies | |
run: bundle install | |
- name: Run tests | |
run: bundle exec rubocop |