Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalezreal committed Aug 19, 2023
1 parent f7b8e21 commit ba798e0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ on:
- '*'
jobs:
tests:
runs-on: macos-11
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- name: Select Xcode 13.1
run: sudo xcode-select -s /Applications/Xcode_13.1.app
- name: Select Xcode 14.3.1
run: sudo xcode-select -s /Applications/Xcode_14.3.1.app
- name: Run tests
run: make test
6 changes: 4 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ on:
jobs:
format:
name: swift-format
runs-on: macos-10.15
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- name: Select Xcode 14.3
run: sudo xcode-select -s /Applications/Xcode_14.3.1.app
- name: Tap
run: brew tap pointfreeco/formulae
- name: Install
run: brew install Formulae/swift-format@5.3
run: brew install Formulae/swift-format@5.7
- name: Format
run: make format
- uses: stefanzweifel/git-auto-commit-action@v4
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ test-macos:
test-ios:
xcodebuild test \
-scheme NetworkImage \
-destination platform="iOS Simulator,name=iPhone 8"
-destination platform="iOS Simulator,name=iPhone SE (3rd generation)"

test-tvos:
xcodebuild test \
Expand All @@ -16,7 +16,7 @@ test-tvos:
test-watchos:
xcodebuild test \
-scheme NetworkImage \
-destination platform="watchOS Simulator,name=Apple Watch Series 5 - 40mm"
-destination platform="watchOS Simulator,name=Apple Watch SE (40mm) (2nd generation)"

test: test-macos test-ios test-tvos test-watchos

Expand Down

0 comments on commit ba798e0

Please sign in to comment.