Skip to content

Update Package@swift-6.0.swift #8

Update Package@swift-6.0.swift

Update Package@swift-6.0.swift #8

Workflow file for this run

name: 🚨 Checks
on:
push:
branches:
- main
pull_request:
branches:
- '*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: 📝 Lint
runs-on: ubuntu-latest
steps:
- name: 🗄️ Checkout Code
uses: actions/checkout@v4
- name: 📝 SwiftLint
uses: stanfordbdhg/action-swiftlint@v4
with:
args: --strict
test:
name: 🧪 Test
runs-on: macos-latest
strategy:
matrix:
platform: [IOS, MACOS, MAC_CATALYST, TVOS, WATCHOS, VISIONOS]
steps:
- name: 👀 Install visionOS runtime
if: matrix.platform == 'visionOS'
run: |
sudo xcodebuild -runFirstLaunch
sudo xcrun simctl list
sudo xcodebuild -downloadPlatform visionOS
sudo xcodebuild -runFirstLaunch
- name: 🗄️ Checkout Code
uses: actions/checkout@v4
- name: 🧰 Select Xcode Version
run: xcodes select 16
- name: 🧪 Run tests
run: make XCODEBUILD_ARGUMENT=test CONFIG=Debug PLATFORM='${{ matrix.platform }}'
- name: 📊 Upload Coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
swift: true