[CI] attempt to fix danger #276
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GitHub Actions Virtual Environments | |
# https://github.com/actions/virtual-environments/ | |
name: Danger | |
on: | |
pull_request: | |
types: [synchronize, opened, reopened, labeled, unlabeled, edited] | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.1.app/Contents/Developer | |
jobs: | |
main: | |
name: Review, Lint, Verify | |
runs-on: macos-13 | |
steps: | |
- name: git checkout | |
uses: actions/checkout@v4 | |
- name: ruby versions | |
run: | | |
ruby --version | |
gem --version | |
bundler --version | |
# https://github.com/ruby/setup-ruby | |
- name: ruby setup | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
# Disable for now. Broken on GitHub CI for some reason. | |
# - name: jazzy docs | |
# run: bundle exec jazzy --output docs/ | |
- name: danger | |
env: | |
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }} | |
run: bundle exec danger --verbose |