Skip to content

Commit

Permalink
Rename workflow given org conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed Sep 3, 2024
1 parent ee84bd5 commit 788589a
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions .github/workflows/pr_ci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Swift Unit Test CI
name: pr_ci

on:
pull_request:
Expand All @@ -11,24 +11,23 @@ jobs:
runs-on: macos-latest

steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Xcode
run: sudo xcode-select -switch /Applications/Xcode.app
- name: Set up Xcode
run: sudo xcode-select -switch /Applications/Xcode.app

- name: Cache DerivedData
uses: actions/cache@v3
with:
path: ~/Library/Developer/Xcode/DerivedData
key: ${{ runner.os }}-xcode-${{ hashFiles('**/*.swift', '**/project.pbxproj') }}
restore-keys: |
${{ runner.os }}-xcode-
- name: Build
run: |
xcodebuild -scheme Scribe -destination 'platform=iOS Simulator,name=iPhone 15,OS=latest' clean build
- name: Test
run: |
xcodebuild -scheme Scribe -destination 'platform=iOS Simulator,name=iPhone 15,OS=latest' test
- name: Cache DerivedData
uses: actions/cache@v3
with:
path: ~/Library/Developer/Xcode/DerivedData
key: ${{ runner.os }}-xcode-${{ hashFiles('**/*.swift', '**/project.pbxproj') }}
restore-keys: |
${{ runner.os }}-xcode-
- name: Build
run: |
xcodebuild -scheme Scribe -destination 'platform=iOS Simulator,name=iPhone 15,OS=latest' clean build
- name: Test
run: |
xcodebuild -scheme Scribe -destination 'platform=iOS Simulator,name=iPhone 15,OS=latest' test

0 comments on commit 788589a

Please sign in to comment.