FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
roadmap/.github/workflows/danger.yml at api-patch · DMPRoadmap/roadmap · GitHub
DMPRoadmap
roadmap
Repository navigation
Code
Issues
300
(300)
Pull requests
49
(49)
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
roadmap
/
.github
/
workflows
/
danger.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
30 lines (23 loc) · 942 Bytes
Breadcrumbs
roadmap
/
.github
/
workflows
/
danger.yml
Copy path
File metadata and controls
30 lines (23 loc) · 942 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name
:
Danger
on
:
[push, pull_request]
jobs
:
danger
:
runs-on
:
ubuntu-24.04
steps
:
-
uses
:
actions/checkout@v3
-
name
:
'
Determine Ruby and Bundler Versions from Gemfile.lock
'
run
:
|
echo "RUBY_VERSION=`cat ./Gemfile.lock | grep -A 1 'RUBY VERSION' | grep 'ruby' | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'`" >> $GITHUB_ENV
echo "BUNDLER_VERSION=`cat ./Gemfile.lock | grep -A 1 'BUNDLED WITH' | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'`" >> $GITHUB_ENV
#
Install Ruby - using the version found in the Gemfile.lock
-
name
:
'
Install Ruby
'
uses
:
ruby/setup-ruby@v1
-
name
:
'
Bundle Install
'
run
:
|
gem install bundler -v ${{ env.BUNDLER_VERSION }}
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3 --without pgsql rollbar aws
-
name
:
'
Run Danger
'
env
:
DANGER_GITHUB_API_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
run
:
bundle exec danger
Back
|
FazBrowse Home
|
New Git URL