Update codecov/codecov-action action to v5.4.3 #499
Workflow file for this run
This file contains hidden or 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: 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 | |
- name: Setup Xcode using .xcode-version | |
uses: maxim-lobanov/[email protected] | |
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/[email protected] | |
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/[email protected] |