File tree 1 file changed +12
-18
lines changed
1 file changed +12
-18
lines changed Original file line number Diff line number Diff line change @@ -49,31 +49,25 @@ jobs:
49
49
- name : Run unit tests with Kover on template-compose
50
50
working-directory : ./template-compose
51
51
run : ./gradlew koverXmlReport
52
+
52
53
danger :
53
54
runs-on : ubuntu-latest
54
55
steps :
55
- - uses : actions/checkout@v4
56
- - name : Set up JDK
57
- uses : actions/setup-java@v4
58
- with :
59
- distribution : ' temurin'
60
- java-version : ' 17'
61
- - uses : ruby/setup-ruby@v1
56
+ - name : Set up Ruby
57
+ uses : ruby/setup-ruby@v1
62
58
with :
63
- ruby-version : ' 3.0 '
59
+ ruby-version : ' 2.7 '
64
60
bundler-cache : true
65
- run : bundle install
66
- - uses : actions/cache@v4
61
+
62
+ - name : Cache gems
63
+ uses : actions/cache@v2
67
64
with :
68
65
path : vendor/bundle
69
- key : ${{ runner.os }}-gems-${{ hashFiles('Gemfile') }}
66
+ key : ${{ runner.os }}-gems-${{ hashFiles('**/ Gemfile.lock ') }}
70
67
restore-keys : |
71
68
${{ runner.os }}-gems-
72
- - uses : MeilCli/danger-action@v6
73
- with :
74
- plugins_file : ' Gemfile'
75
- install_path : ' vendor/bundle'
76
- danger_file : ' Dangerfile'
77
- danger_id : ' danger-pr'
69
+
70
+ - name : Run Danger
78
71
env :
79
- DANGER_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
72
+ DANGER_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
73
+ run : bundle exec danger
You can’t perform that action at this time.
0 commit comments