Skip to content

Commit d1cf73c

Browse files
authored
Merge pull request #186 from emilioforrer/redo-github-action
Redo GitHub action
2 parents e68e734 + 5961f28 commit d1cf73c

20 files changed

+44
-507
lines changed

.github/workflows/build.yml

Lines changed: 25 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -15,63 +15,33 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
ruby:
19-
- '3.0'
20-
- 2.7
21-
- 2.6
22-
- 2.5
23-
- jruby-9.2
24-
- jruby-9.3
25-
gemfile:
26-
- Gemfile-4-2-stable
27-
- Gemfile-5-0-stable
28-
- Gemfile-5-1-sprockets-3
29-
- Gemfile-5-2-sprockets-3
30-
- Gemfile-5-2-sprockets-4
31-
- Gemfile-6-0-sprockets-3
32-
- Gemfile-6-0-sprockets-4
33-
- Gemfile-6-1-sprockets-3
34-
- Gemfile-6-1-sprockets-4
35-
- Gemfile-7-0-sprockets-3
36-
- Gemfile-7-0-sprockets-4
37-
exclude:
38-
- gemfile: Gemfile-4-2-stable
39-
ruby: jruby-9.2
40-
- gemfile: Gemfile-4-2-stable
41-
ruby: jruby-9.3
42-
- gemfile: Gemfile-4-2-stable
43-
ruby: 2.7
44-
- gemfile: Gemfile-4-2-stable
45-
ruby: '3.0'
46-
- gemfile: Gemfile-5-0-stable
47-
ruby: '3.0'
48-
- gemfile: Gemfile-5-1-sprockets-3
49-
ruby: '3.0'
50-
- gemfile: Gemfile-5-2-sprockets-3
51-
ruby: '3.0'
52-
- gemfile: Gemfile-5-1-sprockets-4
53-
ruby: '3.0'
54-
- gemfile: Gemfile-5-2-sprockets-4
55-
ruby: '3.0'
56-
- gemfile: Gemfile-7-0-sprockets-3
57-
ruby: 2.5
58-
- gemfile: Gemfile-7-0-sprockets-3
59-
ruby: 2.6
60-
- gemfile: Gemfile-7-0-sprockets-3
61-
ruby: jruby-9.2
62-
- gemfile: Gemfile-7-0-sprockets-3
63-
ruby: jruby-9.3
64-
- gemfile: Gemfile-7-0-sprockets-4
65-
ruby: 2.5
66-
- gemfile: Gemfile-7-0-sprockets-4
67-
ruby: 2.6
68-
- gemfile: Gemfile-7-0-sprockets-4
69-
ruby: jruby-9.2
70-
- gemfile: Gemfile-7-0-sprockets-4
71-
ruby: jruby-9.3
18+
rails: [7.0.4, 6.1.4]
19+
ruby: [3.2, 3.1, 3.0.6, jruby-9.4]
20+
sprockets: [3, 4]
21+
include:
22+
- rails: 6.0.4
23+
ruby: 2.7
24+
sprockets: 3
25+
- rails: 6.0.4
26+
ruby: 2.7
27+
sprockets: 4
28+
- rails: 5.2.6
29+
ruby: 2.6
30+
sprockets: 3
31+
- rails: 5.2.6
32+
ruby: 2.6
33+
sprockets: 4
34+
- rails: 6.0.4
35+
ruby: jruby-9.2
36+
sprockets: 3
37+
- rails: 6.1.4
38+
ruby: jruby-9.3
39+
sprockets: 4
7240

7341
env:
74-
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}
42+
RAILS_VER: ${{ matrix.rails }}
43+
RUBY_VER: ${{ matrix.ruby }}
44+
SPROCKETS_VER: ${{ matrix.sprockets }}
7545
steps:
7646
- uses: actions/checkout@v2
7747
- uses: ruby/setup-ruby@v1

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ doc/*
1010
.rvmrc
1111
Gemfile.lock
1212
gemfiles/*.lock
13+
coverage
14+
public/javascripts/jasmine_examples/*.js
15+
spec/javascripts/helpers/jasmine_examples/*.js
16+
spec/javascripts/jasmine_examples/*.js
1317
tmp/
1418

1519
## MAC OS

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ Please have a look at the [Haml Coffee Changelog](https://github.com/netzpirat/h
44

55
## Master
66

7+
## 1.22.0 - May 16th, 2023
8+
- [#186][]: Redo Github Actions, Support for ruby 3.1, 3.2, jruby 9.4, remove support for Rails <5.2
9+
Remove a few useless dependencies, add simplecov
10+
711
## 1.21.0 - Jul 9th, 2022
812
- [#184][]: Support for rails 7.0, and fix tests on CI.
913

Gemfile

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@ source 'https://rubygems.org'
22

33
gemspec
44

5-
gem "rails", github: "rails/rails"
5+
gem "rails", "~> #{ENV['RAILS_VER'] || raise("missing rails version")}"
6+
gem "sprockets", "~> #{ENV['SPROCKETS_VER'] || raise("missing sprockets version")}"
67

7-
platform :ruby do
8-
gem 'therubyracer'
9-
gem 'redcarpet'
10-
end
11-
12-
platform :jruby do
13-
gem 'therubyrhino'
14-
gem 'kramdown'
15-
end

gemfiles/Gemfile-4-2-stable

Lines changed: 0 additions & 15 deletions
This file was deleted.

gemfiles/Gemfile-4-2-stable.lock

Lines changed: 0 additions & 235 deletions
This file was deleted.

gemfiles/Gemfile-5-0-stable

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)