Skip to content

Update danger.yml

Update danger.yml #4

Workflow file for this run

name: Danger
on:
pull_request:
types: [synchronize, opened, reopened, labeled, unlabeled, edited]
env:
LC_CTYPE: en_US.UTF-8
LANG: en_US.UTF-8
jobs:
run-danger:

Check failure on line 12 in .github/workflows/danger.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/danger.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
runs-on: ubuntu-latest
steps:
- name: ruby setup
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.2
bundler-cache: true
- uses: actions/cache@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Bundle install
run: |
gem install bundler
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: danger
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
run: bundle exec danger --verbose