LICENSE: update copyright year #46
This file contains hidden or 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: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby: | |
| [ | |
| ruby-3.0, | |
| ruby-3.1, | |
| ruby-3.2, | |
| ruby-3.3, | |
| ruby-3.4, | |
| jruby-9.4.12, | |
| jruby-10.0.0, | |
| truffleruby, | |
| ] | |
| os: [ubuntu-latest, windows-latest] | |
| exclude: | |
| - { ruby: truffleruby, os: windows-latest } | |
| - { ruby: jruby-10.0.0, os: windows-latest } | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| - uses: actions/cache@v3 | |
| with: | |
| path: vendor/bundle | |
| key: bundle-use-ruby-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('**/Gemfile.lock') }} | |
| restore-keys: bundle-use-ruby-${{ matrix.os }}-${{ matrix.ruby }}- | |
| - name: bundle install | |
| run: | | |
| bundle config path vendor/bundle | |
| bundle install --jobs 4 --retry 3 | |
| - run: bundle exec rake compile spec | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.0 | |
| bundler: 2.5.23 | |
| - uses: actions/cache@v3 | |
| with: | |
| path: vendor/bundle | |
| key: bundle-use-ruby-lint-${{ hashFiles('**/Gemfile.lock') }} | |
| restore-keys: bundle-use-ruby-lint- | |
| - name: bundle install | |
| run: | | |
| bundle config path vendor/bundle | |
| bundle install --jobs 4 --retry 3 | |
| - run: bundle exec rake rubocop |