Skip to content

Update .swift-version and .swiftformat #289

Update .swift-version and .swiftformat

Update .swift-version and .swiftformat #289

Workflow file for this run

name: Build & Test
env:
XCODE_VERSION: "Xcode_15.0"
on:
push:
branches:
- main
pull_request:
jobs:
build-and-test:
name: Build & Tests
runs-on: macos-13
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Switch to ${{ env.XCODE_VERSION }}
run: sudo xcode-select --switch /Applications/${{ env.XCODE_VERSION }}.app
- name: Fastlane
run: fastlane tests
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action/composite@95a3aff882d4abe2838b187c66477be7fbf3ddb8
if: always()
with:
files: build/*.xml
- name: Archive logs
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: build-test-logs
path: build
codequality:
name: Codequality
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- name: Switch to ${{ env.XCODE_VERSION }}
run: sudo xcode-select --switch /Applications/${{ env.XCODE_VERSION }}.app
- name: swiftformat
run: swiftformat Sources,Tests --lint