Improving instrumentation around UIViewController
#267
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
name: Run Danger | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_call: {} | |
workflow_dispatch: {} | |
jobs: | |
build: | |
runs-on: macos-14 | |
name: "Run Danger" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Select Xcode | |
# See https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md | |
run: | | |
sudo xcode-select -s /Applications/Xcode_15.4.app | |
xcodebuild -version | |
- name: Install Danger Swift | |
run: | | |
if ! which danger-swift > /dev/null; then | |
echo "Danger-swift is not installed; We'll try to install it." | |
if ! which brew > /dev/null; then | |
echo "Brew is not installed; cannot proceed with Danger installation." | |
fi | |
brew bundle --verbose | |
echo "Danger was installed successfully" | |
else | |
echo "Danger-swift is already installed" | |
fi | |
danger-swift --version | |
- name: Run Danger | |
run: danger-swift ci | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |