Skip to content

Merge pull request #37 from erikdrobne/fix/concurrency-warnings #141

Merge pull request #37 from erikdrobne/fix/concurrency-warnings

Merge pull request #37 from erikdrobne/fix/concurrency-warnings #141

Workflow file for this run

name: SwiftUICoordinator
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: macos-latest
env:
PROJECT: Example/SwiftUICoordinatorExample/SwiftUICoordinatorExample.xcodeproj
DEVELOPER_DIR: /Applications/Xcode.app/Contents/Developer
SCHEME: SwiftUICoordinator
DESTINATION: platform=iOS Simulator,name=iPhone 14
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Select Xcode
run: sudo xcode-select --switch $DEVELOPER_DIR
- name: Clear Derived Data
run: |
rm -rf ~/Library/Developer/Xcode/DerivedData/*
- name: Install SwiftLint
run: |
brew install swiftlint
- name: Run SwiftLint
run: swiftlint
- name: Build and test
run: |
swift package update
xcodebuild clean test -scheme $SCHEME -destination "$DESTINATION"