diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b4817c4..e0f0a08 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,18 +1,22 @@ name: Tests PassGuard using CI process on: - push: + push: branches: - - master - pull_request: + - master + paths: + - ".github/workflows/**" + - "Package.swift" + - "PassGuard/**" + pull_request: branches: - - master + - master jobs: - build-and-test: + build-and-test: runs-on: macos-13 steps: - - uses: actions/checkout@v2 - - name: Select Xcode + - uses: actions/checkout@v2 + - name: Select Xcode run: sudo Xcode-select -switch /Applications/Xcode_14.3.app - - name: Build & Test - run: xcodebuild test -scheme PassGuard -project PassGuard.xcodeproj -destination 'platform=iOS Simulator,name=iPhone 14' \ No newline at end of file + - name: Build & Test + run: xcodebuild test -scheme PassGuard -project PassGuard.xcodeproj -destination 'platform=iOS Simulator,name=iPhone 14'