Skip to content

Commit d260427

Browse files
committed
Updated ci.yml
1 parent 0da45ca commit d260427

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

.github/workflows/ci.yml

+9-8
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ on:
77
branches: [ master ]
88

99
jobs:
10-
build:
11-
12-
runs-on: macos-latest
10+
xcode-build:
11+
name: Xcode Build
12+
runs-on: macOS-latest
1313

1414
steps:
15-
- uses: actions/checkout@v2
16-
- name: Build
17-
run: swift build -v
18-
- name: Run tests
19-
run: swift test -v
15+
- name: Checkout Repo
16+
uses: actions/checkout@v2
17+
- name: Force Xcode 13.1
18+
run: sudo xcode-select -switch /Applications/Xcode_13.1.app
19+
- name: Build for iOS
20+
run: swift build -v

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
.build
12
.swiftpm
23
.DS_Store

Sources/SnapshotTestingHEIC/HEIC/UIImage+HEIC.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#if os(iOS) || os(tvOS)
22
import AVFoundation
3-
import Foundation
3+
import UIKit
44

55
@available(tvOSApplicationExtension 11.0, *)
66
extension UIImage {

0 commit comments

Comments
 (0)