Skip to content

Commit

Permalink
Merge pull request #186 from emilioforrer/redo-github-action
Browse files Browse the repository at this point in the history
Redo GitHub action
  • Loading branch information
mathieujobin committed May 16, 2023
2 parents e68e734 + 5961f28 commit d1cf73c
Show file tree
Hide file tree
Showing 20 changed files with 44 additions and 507 deletions.
80 changes: 25 additions & 55 deletions .github/workflows/build.yml
Expand Up @@ -15,63 +15,33 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby:
- '3.0'
- 2.7
- 2.6
- 2.5
- jruby-9.2
- jruby-9.3
gemfile:
- Gemfile-4-2-stable
- Gemfile-5-0-stable
- Gemfile-5-1-sprockets-3
- Gemfile-5-2-sprockets-3
- Gemfile-5-2-sprockets-4
- Gemfile-6-0-sprockets-3
- Gemfile-6-0-sprockets-4
- Gemfile-6-1-sprockets-3
- Gemfile-6-1-sprockets-4
- Gemfile-7-0-sprockets-3
- Gemfile-7-0-sprockets-4
exclude:
- gemfile: Gemfile-4-2-stable
ruby: jruby-9.2
- gemfile: Gemfile-4-2-stable
ruby: jruby-9.3
- gemfile: Gemfile-4-2-stable
ruby: 2.7
- gemfile: Gemfile-4-2-stable
ruby: '3.0'
- gemfile: Gemfile-5-0-stable
ruby: '3.0'
- gemfile: Gemfile-5-1-sprockets-3
ruby: '3.0'
- gemfile: Gemfile-5-2-sprockets-3
ruby: '3.0'
- gemfile: Gemfile-5-1-sprockets-4
ruby: '3.0'
- gemfile: Gemfile-5-2-sprockets-4
ruby: '3.0'
- gemfile: Gemfile-7-0-sprockets-3
ruby: 2.5
- gemfile: Gemfile-7-0-sprockets-3
ruby: 2.6
- gemfile: Gemfile-7-0-sprockets-3
ruby: jruby-9.2
- gemfile: Gemfile-7-0-sprockets-3
ruby: jruby-9.3
- gemfile: Gemfile-7-0-sprockets-4
ruby: 2.5
- gemfile: Gemfile-7-0-sprockets-4
ruby: 2.6
- gemfile: Gemfile-7-0-sprockets-4
ruby: jruby-9.2
- gemfile: Gemfile-7-0-sprockets-4
ruby: jruby-9.3
rails: [7.0.4, 6.1.4]
ruby: [3.2, 3.1, 3.0.6, jruby-9.4]
sprockets: [3, 4]
include:
- rails: 6.0.4
ruby: 2.7
sprockets: 3
- rails: 6.0.4
ruby: 2.7
sprockets: 4
- rails: 5.2.6
ruby: 2.6
sprockets: 3
- rails: 5.2.6
ruby: 2.6
sprockets: 4
- rails: 6.0.4
ruby: jruby-9.2
sprockets: 3
- rails: 6.1.4
ruby: jruby-9.3
sprockets: 4

env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}
RAILS_VER: ${{ matrix.rails }}
RUBY_VER: ${{ matrix.ruby }}
SPROCKETS_VER: ${{ matrix.sprockets }}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Expand Up @@ -10,6 +10,10 @@ doc/*
.rvmrc
Gemfile.lock
gemfiles/*.lock
coverage
public/javascripts/jasmine_examples/*.js
spec/javascripts/helpers/jasmine_examples/*.js
spec/javascripts/jasmine_examples/*.js
tmp/

## MAC OS
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,10 @@ Please have a look at the [Haml Coffee Changelog](https://github.com/netzpirat/h

## Master

## 1.22.0 - May 16th, 2023
- [#186][]: Redo Github Actions, Support for ruby 3.1, 3.2, jruby 9.4, remove support for Rails <5.2
Remove a few useless dependencies, add simplecov

## 1.21.0 - Jul 9th, 2022
- [#184][]: Support for rails 7.0, and fix tests on CI.

Expand Down
12 changes: 2 additions & 10 deletions Gemfile
Expand Up @@ -2,14 +2,6 @@ source 'https://rubygems.org'

gemspec

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

platform :ruby do
gem 'therubyracer'
gem 'redcarpet'
end

platform :jruby do
gem 'therubyrhino'
gem 'kramdown'
end
15 changes: 0 additions & 15 deletions gemfiles/Gemfile-4-2-stable

This file was deleted.

235 changes: 0 additions & 235 deletions gemfiles/Gemfile-4-2-stable.lock

This file was deleted.

15 changes: 0 additions & 15 deletions gemfiles/Gemfile-5-0-stable

This file was deleted.

0 comments on commit d1cf73c

Please sign in to comment.