File tree 2 files changed +12
-5
lines changed
2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 4
4
5
5
jobs :
6
6
pronto :
7
-
8
7
runs-on : ubuntu-latest
9
-
10
8
steps :
9
+ - run : echo BUNDLE_GEMFILE=gemfiles/pronto.gemfile > $GITHUB_ENV
11
10
- name : Checkout code
12
11
uses : actions/checkout@v2
13
12
- run : git fetch --no-tags --prune --unshallow origin +refs/heads/*:refs/remotes/origin/*
14
13
- name : Setup Ruby
15
14
uses : ruby/setup-ruby@v1
16
15
with :
17
16
ruby-version : 3.4
18
- - name : Setup pronto
19
- run : gem install undercover pronto pronto-rubocop pronto-undercover
17
+ bundler-cache : true
20
18
- name : Run Pronto
21
- run : PRONTO_PULL_REQUEST_ID="${{ github.event.pull_request.number }}" PRONTO_GITHUB_ACCESS_TOKEN="${{ github.token }}" pronto run -f github_pr -c origin/${{ github.base_ref }}
19
+ run : bundle exec pronto run -f github_pr -c origin/${{ github.base_ref }}
20
+ env :
21
+ PRONTO_PULL_REQUEST_ID : ${{ github.event.pull_request.number }}
22
+ PRONTO_GITHUB_ACCESS_TOKEN : " ${{ github.token }}"
Original file line number Diff line number Diff line change
1
+ source "https://rubygems.org"
2
+
3
+ gem "pronto"
4
+ gem "pronto-rubocop"
5
+ gem "pronto-undercover"
6
+ gem "base64"
You can’t perform that action at this time.
0 commit comments