Update comment to reflect productNameWithExtension() and others #538
Workflow file for this run
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
# https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idname | |
name: XcodeProj | |
on: [push, pull_request] | |
concurrency: | |
group: xcodeproj-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Build (macOS) | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: latest-stable | |
- name: Build | |
run: swift build -c release | |
build-linux: | |
name: Build (Linux) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: swift build -c release | |
test: | |
name: Test (macOS / Xcode) | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: latest-stable | |
- name: Run tests | |
run: swift test --enable-code-coverage | |
- name: Send test coverage report | |
run: bash <(curl -s https://codecov.io/bash) | |
test-linux: | |
name: Test (Linux) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set Git config | |
run: | | |
git config --global user.email "xcodeproj@tuist.io" | |
git config --global user.name "xcodeproj" | |
git config --global init.defaultBranch main | |
- name: Build and run tests | |
run: swift test --enable-test-discovery | |
swiftlint: | |
name: Swiftlint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: GitHub Action for SwiftLint | |
uses: norio-nomura/action-swiftlint@3.2.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |