Skip to content

Bump codecov/codecov-action from 3.1.4 to 3.1.5 #14

Bump codecov/codecov-action from 3.1.4 to 3.1.5

Bump codecov/codecov-action from 3.1.4 to 3.1.5 #14

Workflow file for this run

name: CI
on:
pull_request:
types:
- opened
- synchronize
jobs:
test:
name: Test using Xcode ${{ matrix.xcode }}
runs-on: macos-latest
env:
xcodeproj: Lock.xcodeproj
scheme: Lock
strategy:
matrix:
xcode:
- '14.1'
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up environment
uses: ./.github/actions/setup
with:
xcode: ${{ matrix.xcode }}
- name: Run tests
uses: ./.github/actions/test
with:
xcode: ${{ matrix.xcode }}
scheme: ${{ env.scheme }}
platform: iOS
- name: Convert coverage report
run: bundle exec slather coverage -x --scheme ${{ env.scheme }} ${{ env.xcodeproj }}
- name: Upload coverage report
uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0
- name: Cancel wokflow on failure
uses: andymckay/cancel-action@b9280e3f8986d7a8e91c7462efc0fa318010c8b1
if: ${{ failure() }}
pod-lint:
name: Lint podspec using Xcode ${{ matrix.xcode }}
runs-on: macos-latest
strategy:
matrix:
xcode:
- '14.1'
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up environment
uses: ./.github/actions/setup
with:
xcode: ${{ matrix.xcode }}
- name: Run pod lib lint
run: bundle exec pod lib lint --allow-warnings --fail-fast
- name: Cancel wokflow on failure
uses: andymckay/cancel-action@b9280e3f8986d7a8e91c7462efc0fa318010c8b1
if: ${{ failure() }}
swiftlint:
name: Lint code with SwiftLint
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Run SwiftLint
run: swiftlint lint --reporter github-actions-logging
- name: Cancel wokflow on failure
uses: andymckay/cancel-action@b9280e3f8986d7a8e91c7462efc0fa318010c8b1
if: ${{ failure() }}