Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaspik committed May 10, 2022
1 parent 508c45d commit 51b6118
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions .github/workflows/danger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,15 @@ on:
jobs:
danger:
name: Run Danger
runs-on: ubuntu-latest
runs-on: macos-latest
steps:
- name: Checkout the Git repository
uses: actions/checkout@v2
with:
fetch-depth: 0
# - name: Cache Gems
# uses: actions/cache@v1
# with:
# path: vendor/bundle
# key: ${{ runner.os }}-danger-${{ env.cache-name }}-gems-${{ hashFiles('**/Gemfile.lock') }}
# restore-keys: |
# ${{ runner.os }}-danger-${{ env.cache-name }}-gems-
# ${{ runner.os }}-danger-${{ env.cache-name }}-
# ${{ runner.os }}-danger-
# - name: Run build script
# run: gem install bundler && bundle install && bundle exec danger --fail-on-errors=true
# env:
# DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 100
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.event.pull_request.head.ref }}
- name: Run build script
run: gem install bundler && bundle install && bundle exec danger --fail-on-errors=true
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 51b6118

Please sign in to comment.