Skip to content

chore(deps): bump ruby/setup-ruby from 1.315.0 to 1.321.0 in /.github/actions/setup #1296

chore(deps): bump ruby/setup-ruby from 1.315.0 to 1.321.0 in /.github/actions/setup

chore(deps): bump ruby/setup-ruby from 1.315.0 to 1.321.0 in /.github/actions/setup #1296

Workflow file for this run

name: CI
on:
pull_request:
types:
- opened
- synchronize
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
env:
ruby: '3.3.1'
jobs:
test:
name: Test on ${{ matrix.platform.os }} using Xcode ${{ matrix.xcode }}
runs-on: macos-14
env:
xcodeproj: Auth0.xcodeproj
strategy:
matrix:
platform:
- { os: iOS, scheme: Auth0.iOS }
- { os: macOS, scheme: Auth0.macOS }
- { os: tvOS, scheme: Auth0.tvOS }
xcode:
- '16.1'
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Set up environment
uses: ./.github/actions/setup
with:
ruby: ${{ env.ruby }}
xcode: ${{ matrix.xcode }}
- name: Run tests
uses: ./.github/actions/test
with:
xcode: ${{ matrix.xcode }}
scheme: ${{ matrix.platform.scheme }}
platform: ${{ matrix.platform.os }}
- name: Convert coverage report
if: ${{ matrix.platform.os == 'iOS' }}
run: bundle exec slather coverage -x --scheme ${{ matrix.platform.scheme }} ${{ env.xcodeproj }}
- name: Upload coverage report
if: ${{ matrix.platform.os == 'iOS' }}
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # pin@7.0.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
test-package:
name: Test Swift package using Xcode ${{ matrix.xcode }}
runs-on: macos-14
strategy:
matrix:
xcode:
- '16.1'
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Set up environment
uses: ./.github/actions/setup
with:
ruby: ${{ env.ruby }}
xcode: ${{ matrix.xcode }}
- name: Run tests
run: swift test
pod-lint:
name: Lint podspec using Xcode ${{ matrix.xcode }}
runs-on: macos-14-xlarge
strategy:
matrix:
xcode:
- '16.1'
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Set up environment
uses: ./.github/actions/setup
with:
ruby: ${{ env.ruby }}
xcode: ${{ matrix.xcode }}
- name: Run pod lib lint
run: bundle exec pod lib lint --allow-warnings --fail-fast
swiftlint:
name: Lint code with SwiftLint
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Install SwiftLint
run: brew install swiftlint
- name: Run SwiftLint
run: swiftlint lint --reporter github-actions-logging