Update actions/checkout digest to 0ad4b8f #32
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@0ad4b8fadaa221de15dcec353f45205ec38ea70b # 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 }} |