Remove unnecessary nonisolated(unsafe) from NSLock constant #219
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Build & test | |
| runs-on: macos-15 | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Select latest Xcode | |
| run: sudo xcode-select -s /Applications/Xcode.app | |
| - name: Show versions | |
| run: | | |
| sw_vers | |
| xcodebuild -version | |
| swift --version | |
| - name: Check for unlocalized Chinese strings | |
| run: python3 scripts/check_unlocalized_strings.py | |
| - name: Validate string catalog | |
| run: python3 scripts/check_string_catalog.py | |
| - name: Build & run unit tests | |
| run: | | |
| set -o pipefail | |
| xcodebuild test \ | |
| -project gitrelay.xcodeproj \ | |
| -scheme gitrelay \ | |
| -destination 'platform=macOS' \ | |
| -only-testing:gitrelayTests \ | |
| -parallel-testing-enabled NO \ | |
| CODE_SIGNING_ALLOWED=NO |