Skip to content

Commit

Permalink
CI: Configure GitHub Actions
Browse files Browse the repository at this point in the history
Fixes #sass#168
  • Loading branch information
olleolleolle authored Feb 3, 2022
1 parent 8d0462d commit b43e4d4
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: CI

on:
pull_request:

push:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
name: build ${{ matrix.ruby }}
env:
BUNDLE_GEMFILE: "gemfiles/${{ matrix.gemfile-base }}.gemfile"
strategy:
fail-fast: false
matrix:
ruby:
- 2.6
- 2.7
- '3.0'
- 3.1
- truffleruby-head
gemfile-base:
- sprockets-rails_3_0
- sprockets-rails_2_3
- sprockets_3_0
- sprockets_4_0
- rails_4_2
- rails_5_2
- rails_6_0

steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # 'bundle install' and cache gems

- name: Test
continue-on-error: ${{ matrix.experimental }}
run: bundle exec rake

0 comments on commit b43e4d4

Please sign in to comment.