Skip to content

Commit 4883a6d

Browse files
Run danger earlier in the CircleCI build pipeline
1 parent d026cd2 commit 4883a6d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.circleci/config.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,15 @@ jobs:
9898
- git-shallow-clone/checkout:
9999
# This is for Danger, which requires a bit more git history
100100
fetch_depth: 100
101+
- run:
102+
name: Install Bundler
103+
command: bundle check || bundle install
104+
environment:
105+
BUNDLE_JOBS: 4
106+
BUNDLE_RETRY: 3
107+
- run:
108+
name: Danger
109+
command: bin/danger.sh
101110
- run:
102111
name: SPM SSH Workaround
103112
command: *spm_ssh_workaround
@@ -110,15 +119,6 @@ jobs:
110119
- run:
111120
name: Bootstrap
112121
command: make bootstrap
113-
- run:
114-
name: Install Bundler
115-
command: bundle check || bundle install
116-
environment:
117-
BUNDLE_JOBS: 4
118-
BUNDLE_RETRY: 3
119-
- run:
120-
name: Danger
121-
command: bin/danger.sh
122122
- persist_to_workspace:
123123
root: .
124124
paths:

0 commit comments

Comments
 (0)