diff options
| author | mo khan <mo@mokhan.ca> | 2022-03-30 14:58:34 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2022-03-30 16:21:56 -0600 |
| commit | 45f85f64115cf522e43569451f3f4f7977c862c1 (patch) | |
| tree | 102637e5bf8332a35b4b668bae9b9af51cc1c662 /.github | |
| parent | 6e457e266ddb0e587aaf9b4fb84b292003ba38a9 (diff) | |
feat: drop ruby 2.5 and 2.6v1.3.0
fix: upgrade to Ruby 2.7+ *args syntax.
* https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/
fix: resolve deprecation warnings
* https://github.com/rails/rails/pull/32313
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e86976c..358e9dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,43 +2,35 @@ name: Continuous Integration on: push: - branches: [main] pull_request: - branches: [main] jobs: test: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['2.5', '2.6', '2.7'] + ruby-version: ['2.7', '3.0', '3.1'] steps: - uses: actions/checkout@v2 - - name: Set up Ruby - uses: ruby/setup-ruby@v1 + - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true - - name: Running tests… - run: sh bin/test + - run: sh bin/test style: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up Ruby - uses: ruby/setup-ruby@v1 + - uses: ruby/setup-ruby@v1 with: ruby-version: '2.7' bundler-cache: true - - name: Running style checks… - run: sh bin/style + - run: sh bin/style audit: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up Ruby - uses: ruby/setup-ruby@v1 + - uses: ruby/setup-ruby@v1 with: ruby-version: '2.7' bundler-cache: true - - name: Running audit… - run: sh bin/audit + - run: sh bin/audit |
