Skip to content

Bump actions/checkout from 4.1.1 to 4.1.6 #27

Bump actions/checkout from 4.1.1 to 4.1.6

Bump actions/checkout from 4.1.1 to 4.1.6 #27

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@a5ac7e51b41094c92402da3b24376905380afc29
- 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@ab904c41d6ece82784817410c45d8b8c02684457
- name: Cancel wokflow on failure
uses: andymckay/cancel-action@271cfbfa11ca9222f7be99a47e8f929574549e0a
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@a5ac7e51b41094c92402da3b24376905380afc29
- 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@271cfbfa11ca9222f7be99a47e8f929574549e0a
if: ${{ failure() }}
swiftlint:
name: Lint code with SwiftLint
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- name: Run SwiftLint
run: swiftlint lint --reporter github-actions-logging
- name: Cancel wokflow on failure
uses: andymckay/cancel-action@271cfbfa11ca9222f7be99a47e8f929574549e0a
if: ${{ failure() }}