Skip to content

Update MeilCli/danger-action action to v6.0.22 #490

Update MeilCli/danger-action action to v6.0.22

Update MeilCli/danger-action action to v6.0.22 #490

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: macOS-14
steps:
- uses: actions/checkout@v4
- name: Read Xcode version
id: xcode_version
run: echo "XCODE_VERSION=$(cat .xcode-version)" >> $GITHUB_ENV
- uses: maxim-lobanov/setup-xcode@v1.6.0
with:
xcode-version: ${{ env.XCODE_VERSION }}
- name: Bundle install
run: bundle install
- name: Run iOS tests
run: make test-ios
- name: Run macOS tests
run: make test-macos
- name: Run tvOS tests
run: make test-tvos
- name: Run watchOS tests
run: make test-watchos
- name: Danger action
uses: MeilCli/danger-action@v6.0.22
if: github.event_name == 'pull_request'
with:
plugins_file: 'Gemfile'
install_path: 'vendor/bundle'
danger_file: 'Dangerfile'
danger_id: 'danger-pr'
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
verbose: true