Bump the github-actions group across 1 directory with 2 updates #121
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and Unit Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "Brew/**" | |
| - "BrewTests/**" | |
| - "BrewUITests/**" | |
| - "Brew.xcodeproj/**" | |
| - "Brew.entitlements" | |
| - "Package.resolved" | |
| - ".github/workflows/pr_build_test.yml" | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| paths: | |
| - "Brew/**" | |
| - "BrewTests/**" | |
| - "BrewUITests/**" | |
| - "Brew.xcodeproj/**" | |
| - "Brew.entitlements" | |
| - "Package.resolved" | |
| - ".github/workflows/pr_build_test.yml" | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-and-test: | |
| name: Build + unit tests | |
| runs-on: macos-26 | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Resolve package dependencies | |
| run: xcodebuild -resolvePackageDependencies -project Brew.xcodeproj | |
| - name: Build and test | |
| run: | | |
| set -o pipefail | |
| xcodebuild test \ | |
| -project Brew.xcodeproj \ | |
| -scheme Brew-Unit \ | |
| -destination "platform=macOS" \ | |
| -skipPackagePluginValidation \ | |
| -skipMacroValidation \ | |
| CODE_SIGN_STYLE=Manual \ | |
| CODE_SIGN_IDENTITY=- \ | |
| CODE_SIGNING_REQUIRED=NO \ | |
| CODE_SIGNING_ALLOWED=NO \ | |
| | tee xcodebuild.log | |
| - name: Upload logs on failure | |
| if: failure() || cancelled() | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| with: | |
| name: pr-build-test-logs | |
| path: xcodebuild.log | |
| retention-days: 7 |