Skip to content

hoangatuan is checking for leaks πŸš€ #43

hoangatuan is checking for leaks πŸš€

hoangatuan is checking for leaks πŸš€ #43

Workflow file for this run

# 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 MemoryLeaksCheck ./maestro/leaksCheckFlow.yaml
- run: echo "🍏 This job's status is ${{ job.status }}."