name: Vienna

on: pull_request

jobs:
  test:
    name: Test
    runs-on: macos-11.0

    steps:
    - name: Use Xcode 12
      run: sudo xcode-select -s "/Applications/Xcode_12.2.app"
    - name: Install SwiftLint
      run: brew install swiftlint
    - name: Set up Git repository
      uses: actions/checkout@v1
    - name: Build Xcode project
      run: xcodebuild -project Vienna.xcodeproj -scheme Vienna -configuration Development build-for-testing | xcpretty && exit ${PIPESTATUS[0]}
    - name: Test Xcode project
      run: xcodebuild -project Vienna.xcodeproj -scheme Vienna -configuration Development test | xcpretty && exit ${PIPESTATUS[0]}

name: Vienna

on: pull_request

jobs:
  test:
    name: Test
    runs-on: macos-11.0

    steps:
    - name: Use Xcode 12.3
      run: sudo xcode-select -s "/Applications/Xcode_12.3.app"
    - name: Set up Git repository
      uses: actions/checkout@v2
    - name: Build Xcode project
      run: xcodebuild -project Vienna.xcodeproj -scheme Vienna -configuration Development build-for-testing | xcpretty && exit ${PIPESTATUS[0]}
    - name: Test Xcode project
      run: xcodebuild -project Vienna.xcodeproj -scheme Vienna -configuration Development test | xcpretty && exit ${PIPESTATUS[0]}

Update GitHub action for Xcode 12.3
Update GitHub action for Xcode 12.3

Xcode 12.3 is installed, but not the default.

Additional changes:
 - Removes the unneeded SwiftLint installation step
 - Updates the checkout action to version 2
