Update actions/checkout digest to a5ac7e5 #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: | |
- master | |
# Run tests for any PRs. | |
pull_request: | |
jobs: | |
build: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
destination: ["platform=iOS Simulator,OS=16.2,name=iPhone 13"] | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 | |
- name: Test as package | |
run: swift test | |
- name: CocoaPod Install | |
run: | | |
cd PersonnummerExample | |
pod install | |
- name: Build and test | |
run: | | |
cd PersonnummerExample | |
xcodebuild clean test -workspace PersonnummerExample.xcworkspace -scheme PersonnummerExample -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO | |
env: | |
destination: ${{ matrix.destination }} |