mirror of
https://github.com/DefinedNet/mobile_nebula.git
synced 2025-09-05 18:56:04 +00:00
According to https://github.com/actions/runner-images#available-images, currently `macos-latest` is pointing to macos 14 images, which come bundled with xcode 15. Apple now requires xcode 16, which we'll get by updating to `macos-15`. This also bumps the version github uses to `16.3` (by default it will stay at 16.0), and adds a note to the README that ideally we should all be using the same version of xcode that is used to build the app that is sent to Apple. We could get fancier with this, but I don't think it's really necessary right now. See https://www.polpiella.dev/managing-xcode-installs-using-fastlane for other approaches.
21 lines
444 B
YAML
21 lines
444 B
YAML
name: Swift format
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
paths:
|
|
- ".github/workflows/swiftfmt.yml"
|
|
- "**.swift"
|
|
jobs:
|
|
swiftfmt:
|
|
name: Run swift format
|
|
runs-on: macos-15
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #4.2.2
|
|
with:
|
|
show-progress: false
|
|
|
|
- name: Check formating
|
|
run: ./swift-format.sh check
|