Update gems and CI, drop CI support for rails 5.2 and ruby 2.6

This commit is contained in:
Vasily Fedoseyev
2023-06-01 18:29:47 +03:00
parent 4afc1d46d4
commit 9503599088
9 changed files with 32 additions and 103 deletions

View File

@@ -4,15 +4,17 @@ jobs:
lint:
name: Pronto lint
runs-on: ubuntu-latest
env:
BUNDLE_ONLY: lint
steps:
- uses: actions/checkout@v2
- run: git fetch --no-tags --prune --unshallow origin +refs/heads/*:refs/remotes/origin/*
- name: Install ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'
ruby-version: '3.2'
bundler-cache: true
- run: bundle exec pronto run -f github_status github_pr_review -c origin/master
- run: bundle exec pronto run -f text github_status github_pr_review -c origin/master
env:
PRONTO_GITHUB_ACCESS_TOKEN: ${{ github.token }}
PRONTO_PULL_REQUEST_ID: ${{ github.event.pull_request.number }}

View File

@@ -1,5 +1,7 @@
name: Test
on: [push]
on:
- push
- pull_request
jobs:
runTests:
runs-on: ubuntu-latest
@@ -7,22 +9,12 @@ jobs:
strategy:
matrix:
include:
# EKAM
- ruby-version: 2.5.8
rails-version: 52
# InSales
- ruby-version: 2.6.6
rails-version: 52
- ruby-version: 2.6.6
- ruby-version: 2.7.8
rails-version: 60
- ruby-version: 2.7.5
rails-version: 60
- ruby-version: 2.7.5
- ruby-version: 2.7.8
rails-version: 61
- ruby-version: 2.7.5
rails-version: 70
# EDGE
- ruby-version: 3.1.0
- ruby-version: 3.2.2
rails-version: 70
env: