Skip to content

Commit

Permalink
Run Sass tests on maintained Ruby versions
Browse files Browse the repository at this point in the history
Note: Ruby 2.6 support ended 31 March 2022
  • Loading branch information
colinrotherham committed Nov 22, 2022
1 parent 2094e46 commit 0d4f16f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/sass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
run: time node-sass src/govuk/all.scss > /dev/null

ruby:
name: Ruby Sass ${{ matrix.package-version }}
name: Ruby Sass ${{ matrix.package-version }} (Ruby ${{ matrix.ruby-version }})
runs-on: ubuntu-latest

strategy:
Expand All @@ -107,9 +107,14 @@ jobs:
- '~> 3.0' # Ruby Sass v3.x (latest, deprecated)

ruby-version:
- 2.6 # Latest Ruby when Ruby Sass was EOL'ed (April 2019)
- '2.7'
- '3.0'
- '3.1'

include:
- package-version: '~> 3.0' # Ruby Sass v3.x (latest, deprecated)
ruby-version: 2.6 # Latest Ruby when Ruby Sass was EOL'ed (April 2019)

- package-version: 3.4.0 # Ruby Sass v3.4.0 (deprecated)
ruby-version: 2.1.9 # Oldest version available on ruby/setup-ruby

Expand Down

0 comments on commit 0d4f16f

Please sign in to comment.