Skip to content

Commit bb6fbe8

Browse files
committed
[CI] Update GitHub Actions:
- Adds Ruby 3.0 tests - Removes Ruby 2.6 and 2.7 tests
1 parent 71b5c31 commit bb6fbe8

File tree

2 files changed

+10
-56
lines changed

2 files changed

+10
-56
lines changed

.github/workflows/2.7.yml

-46
This file was deleted.

.github/workflows/2.6.yml renamed to .github/workflows/3.0.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
name: Ruby 2.6
1+
name: Ruby 3.0
22
on:
33
push:
44
branches:
5-
- main
5+
- 8.x
66
pull_request:
77
branches:
8-
- main
9-
workflow_dispatch:
10-
branches:
11-
- '*'
8+
- 8.x
129
jobs:
1310
tests:
1411
env:
15-
TEST_ES_SERVER: http://localhost:9200
16-
RAILS_VERSIONS: '5.0,6.0'
12+
ELASTICSEARCH_URL: http://localhost:9200
13+
RAILS_VERSIONS: ${{ matrix.rails }}
1714
strategy:
1815
fail-fast: false
16+
matrix:
17+
rails: [ '6.1', '7.0' ]
1918
runs-on: ubuntu-latest
2019
steps:
2120
- uses: actions/checkout@v2
@@ -27,10 +26,11 @@ jobs:
2726
sudo sysctl -w vm.max_map_count=262144
2827
- uses: elastic/elastic-github-actions/elasticsearch@master
2928
with:
30-
stack-version: 7.x-SNAPSHOT
29+
stack-version: 8.11.0-SNAPSHOT
30+
security-enabled: false
3131
- uses: ruby/setup-ruby@v1
3232
with:
33-
ruby-version: 2.6
33+
ruby-version: 3.0
3434
- name: Bundle
3535
run: |
3636
sudo apt-get install libsqlite3-dev

0 commit comments

Comments
 (0)