hoangatuan is checking for leaks π #49
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
# How to setup danger with github actions: https://www.jessesquires.com/blog/2020/04/10/running-danger-on-github-actions/ | |
name: Check leaks | |
run-name: ${{ github.actor }} is checking for leaks π | |
on: [pull_request] | |
jobs: | |
Explore-Github-Actions: | |
runs-on: self-hosted | |
steps: | |
- run: echo "π The job was automatically triggered by a ${{ github.event_name }} event." | |
- run: echo "π§ This job is now running on a ${{ runner.os }} server hosted by GitHub!" | |
- run: echo "π The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
# - uses: maxim-lobanov/setup-xcode@v1.6.0 | |
# with: | |
# xcode-version: 14.2.0 | |
- name: ruby versions | |
run: | | |
ruby --version | |
gem --version | |
bundler --version | |
# Should help this step to install dependencies. Since this is example project, I will skip this step. | |
# - name: ruby setup | |
# uses: ruby/setup-ruby@v1 | |
# with: | |
# ruby-version: 2.7 | |
# bundler-cache: true | |
# - run: xcodebuild -project MemoryLeaksCheck.xcodeproj -scheme MemoryLeaksCheck -destination 'platform=iOS Simulator,name=iPhone 14 Pro' CONFIGURATION_BUILD_DIR=$PWD/build | |
- name: Check for leaks | |
env: | |
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }} | |
run: ./LeaksDetector/leaksdetector --process-name MemoryLeaksCheck --executor-type maestro --maestro-flow-path ./maestro/leaksCheckFlow.yaml -d ./Dangerfile.leaksReport | |
- run: echo "π This job's status is ${{ job.status }}." |