Skip to content

Bump actions/checkout from 4.0.0 to 4.1.0 #11

Bump actions/checkout from 4.0.0 to 4.1.0

Bump actions/checkout from 4.0.0 to 4.1.0 #11

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@8ade135a41bc03ea155e62e844d188df1ea18608
- 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@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d
- 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@8ade135a41bc03ea155e62e844d188df1ea18608
- 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@8ade135a41bc03ea155e62e844d188df1ea18608
- name: Run SwiftLint
run: swiftlint lint --reporter github-actions-logging
- name: Cancel wokflow on failure
uses: andymckay/cancel-action@b9280e3f8986d7a8e91c7462efc0fa318010c8b1
if: ${{ failure() }}