Skip to content

Improve logging

Improve logging #139

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"