Skip to content

[PLAT-11363] Use new idempotent API for mazerunner command fetch #603

[PLAT-11363] Use new idempotent API for mazerunner command fetch

[PLAT-11363] Use new idempotent API for mazerunner command fetch #603

Workflow file for this run

name: "Pull Request"
on: [pull_request]
jobs:
danger:
runs-on: macos-latest
steps:
- name: Checkout target branch
uses: actions/checkout@v2
with:
ref: ${{ github.base_ref }}
- name: Build
run: xcodebuild -scheme BugsnagPerformance-iOS -destination generic/platform=iOS -configuration Release -quiet -derivedDataPath $PWD/DerivedData.old VALID_ARCHS=arm64
- name: Checkout pull request merge branch
uses: actions/checkout@v2
with:
clean: false
fetch-depth: 100
- name: Build
run: xcodebuild -scheme BugsnagPerformance-iOS -destination generic/platform=iOS -configuration Release -quiet -derivedDataPath $PWD/DerivedData.new VALID_ARCHS=arm64
- name: Install dependencies
run: brew install bloaty && gem install danger
- name: Run danger
run: danger
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}