Minor changelog update #102
This file contains 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 Test | |
on: | |
pull_request: | |
branches: | |
- main | |
- develop | |
- 'release/**' | |
push: | |
branches: | |
- main | |
- develop | |
- 'release/**' | |
jobs: | |
test: | |
name: Unit Test | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: swift-actions/setup-swift@v1 | |
- name: Get swift version | |
run: swift --version | |
- uses: actions/cache@v3 | |
with: | |
path: .build | |
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }} | |
restore-keys: | | |
${{ runner.os }}-spm- | |
- name: Create test configuration | |
run: chmod +x ./build_configuration.sh && ./build_configuration.sh | |
shell: bash | |
- name: Build | |
run: xcodebuild build -scheme IndexStore -configuration Debug -destination "platform=macOS" | |
- name: Test | |
run: xcodebuild test-without-building -scheme IndexStore -configuration Debug -destination "platform=macOS" -enableCodeCoverage YES |