Skip to content

Commit 4754640

Browse files
authored
Merge pull request #104 from fastruby/update-skunk-workflow
Update skunk workflows
2 parents 6a601a5 + 50c8215 commit 4754640

File tree

3 files changed

+25
-10
lines changed

3 files changed

+25
-10
lines changed

.github/workflows/main.yml

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# .github/workflows/ci.yml
1+
# .github/workflows/main.yml
22

33
name: CI
44
on:
@@ -12,7 +12,6 @@ on:
1212
jobs:
1313
test-ruby-2-4-x:
1414
runs-on: ubuntu-latest
15-
1615
steps:
1716
- uses: actions/checkout@v2
1817
- name: Setup Ruby 2.4
@@ -24,17 +23,31 @@ jobs:
2423
env:
2524
BUNDLE_GEMFILE: "Gemfile-Ruby-2-4"
2625
run: |
27-
gem install bundler
26+
gem install bundler -v 2.3
2827
bundle install --jobs 4 --retry 3
2928
bundle exec rake
29+
30+
test-ruby-2-5-x:
31+
runs-on: ubuntu-latest
32+
steps:
33+
- uses: actions/checkout@v2
34+
- name: Setup Ruby 2.5
35+
uses: ruby/setup-ruby@v1
36+
with:
37+
ruby-version: 2.5
38+
bundler-cache: true
39+
- name: Build and run tests
40+
run: |
41+
gem install bundler -v 2.3.26
42+
bundle install --jobs 4 --retry 3
43+
bundle exec rake
44+
3045
test-ruby:
3146
runs-on: ${{ matrix.os }}-latest
32-
3347
strategy:
3448
matrix:
3549
os: [ubuntu]
36-
ruby-version: [2.5, 2.6, 2.7, 3.0, 3.1]
37-
50+
ruby-version: [2.6, 2.7, "3.0", 3.1]
3851
steps:
3952
- uses: actions/checkout@v2
4053
- name: Setup Ruby ${{ matrix.ruby-version }}
@@ -44,6 +57,6 @@ jobs:
4457
bundler-cache: true
4558
- name: Build and run tests
4659
run: |
47-
gem install bundler
60+
gem install bundler -v 2.4.6
4861
bundle install --jobs 4 --retry 3
4962
bundle exec rake

.github/workflows/skunk.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ jobs:
66
runs-on: ubuntu-latest
77

88
steps:
9-
- uses: actions/checkout@v1
9+
- uses: actions/checkout@v2
1010
- name: Setup Ruby
11-
uses: actions/setup-ruby@v1
11+
uses: ruby/setup-ruby@v1
1212
with:
13-
ruby-version: 2.6.x
13+
ruby-version: 2.6
14+
bundler-cache: true
1415
- name: Run test suite with COVERAGE=true
1516
run: |
1617
gem install bundler

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## main [(unreleased)](https://github.com/fastruby/skunk/compare/v0.5.2...HEAD)
99

1010
* <INSERT YOUR FEATURE OR BUGFIX HERE>
11+
* [BUGFIX: Fix skunk workflow](https://github.com/fastruby/skunk/pull/104)
1112
* [BUGFIX: Fix documentation and refactor `skunk_score` method](https://github.com/fastruby/skunk/pull/102)
1213
* [FEATURE: Improve main workflow](https://github.com/fastruby/skunk/pull/99)
1314
* [BUGFIX: Fix analized module test](https://github.com/fastruby/skunk/pull/98)

0 commit comments

Comments
 (0)