Skip to content

Add an overload of map that allows you to fail the conversion by returning nil. #585

Add an overload of map that allows you to fail the conversion by returning nil.

Add an overload of map that allows you to fail the conversion by returning nil. #585

Workflow file for this run

name: CI (Xcode)
on:
push:
branches:
- main
tags:
- "*"
pull_request:
branches:
- "*"
jobs:
xcode_monterey:
name: Xcode ${{ matrix.xcode }} (Xcode Project)
runs-on: macos-12
strategy:
matrix:
xcode: ["14.0.1", "14.1", "14.2"]
fail-fast: false
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
steps:
- uses: actions/checkout@v4
- run: ./test macos
- run: ./test ios
- run: ./test tvos
- run: ./test watchos
xcode_ventura:
name: Xcode ${{ matrix.xcode }} (Xcode Project)
runs-on: macos-13
strategy:
matrix:
xcode: ["14.3.1"]
fail-fast: false
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
steps:
- uses: actions/checkout@v4
- run: ./test macos
- run: ./test ios
- run: ./test tvos
- run: ./test watchos
xcode_spm:
name: Xcode ${{ matrix.xcode }} (Swift Package)
runs-on: macos-12
strategy:
matrix:
xcode: ["14.0.1"]
fail-fast: false
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
steps:
- uses: actions/checkout@v4
- run: ./test macos_xcodespm
- run: ./test ios_xcodespm
- run: ./test tvos_xcodespm
- run: ./test watchos_xcodespm