File tree 1 file changed +26
-0
lines changed
1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 41
41
bundler-cache : true
42
42
rubygems : latest
43
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}}
You can’t perform that action at this time.
0 commit comments