We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 79d65a0 + e1f2a4b commit ea853aaCopy full SHA for ea853aa
1 file changed
.github/workflows/ci.yml
@@ -41,3 +41,29 @@ jobs:
41
bundler-cache: true
42
rubygems: latest
43
- run: bundle exec rake test
44
+
45
+ # borrowed from nokogiri/.github/workflows/downstream.yml
46
+ downstream:
47
+ needs: ["rubocop"]
48
+ name: downstream-${{matrix.name}}
49
+ strategy:
50
+ fail-fast: false
51
+ matrix:
52
+ include:
53
+ - url: https://github.com/rails/rails-html-sanitizer
54
+ name: rails-html-sanitizer
55
+ command: "bundle exec rake test"
56
+ runs-on: ubuntu-latest
57
+ steps:
58
+ - uses: actions/checkout@v2
59
+ - uses: ruby/setup-ruby@v1
60
+ with:
61
+ ruby-version: "3.1"
62
+ bundler-cache: true
63
+ rubygems: latest
64
+ - run: |
65
+ git clone --depth=1 ${{matrix.url}} ${{matrix.name}}
66
+ cd ${{matrix.name}}
67
+ bundle add loofah --path ".."
68
+ bundle install --local || bundle install
69
+ ${{matrix.command}}
0 commit comments