Skip to content

Updated github actions #51

Updated github actions

Updated github actions #51

Workflow file for this run

name: ci
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
SCHEME: "Widget Examples"
IOS_SDK: "iphonesimulator"
IOS_DESTINATION: "platform=iOS Simulator,name=Any iOS Simulator Device,OS=latest"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: SwiftLint
uses: norio-nomura/[email protected]
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- run: sudo xcode-select -s '/Applications/Xcode_15.0.app/Contents/Developer'
- name: Build
run: |
xcodebuild clean build \
-scheme "$SCHEME" \
-sdk "$IOS_SDK" \
-destination "$IOS_DESTINATION" \
CODE_SIGNING_ALLOWED=NO