From 8968262ace00f042b8ff12ca014a0353f550976a Mon Sep 17 00:00:00 2001 From: Samantha Cannillo Date: Mon, 22 Feb 2021 14:19:38 -0600 Subject: [PATCH] Bump MacOS version in GH actions workflows to be 11.2 --- .github/workflows/build.yml | 6 +++--- .github/workflows/tests.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e06c56c04f..a9bb06bd09 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,7 +3,7 @@ on: [pull_request, workflow_dispatch] jobs: cocoapods: name: CocoaPods - runs-on: macOS-latest + runs-on: macOS-11.2 steps: - name: Check out repository uses: actions/checkout@v2 @@ -15,7 +15,7 @@ jobs: run: pod lib lint carthage: name: Carthage - runs-on: macOS-latest + runs-on: macOS-11.2 steps: - name: Check out repository uses: actions/checkout@v2 @@ -37,7 +37,7 @@ jobs: run: xcodebuild -project 'SampleApps/CarthageTest/CarthageTest.xcodeproj' -scheme 'CarthageTest' clean build CODE_SIGNING_ALLOWED=NO spm: name: SPM - runs-on: macOS-latest + runs-on: macOS-11.2 steps: - name: Check out repository uses: actions/checkout@v2 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ea95dfd5a4..d9d5226f37 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,7 +3,7 @@ on: [pull_request, workflow_dispatch] jobs: unit_test_job: name: Unit - runs-on: macOS-latest + runs-on: macOS-11.2 steps: - name: Checkout repository uses: actions/checkout@v2 @@ -15,7 +15,7 @@ jobs: run: set -o pipefail && xcodebuild -workspace 'Braintree.xcworkspace' -sdk 'iphonesimulator' -configuration 'Debug' -scheme 'UnitTests' -destination 'name=iPhone 11,platform=iOS Simulator' test | ./Pods/xcbeautify/xcbeautify ui_test_job: name: UI - runs-on: macOS-latest + runs-on: macOS-11.2 steps: - name: Checkout repository uses: actions/checkout@v2 @@ -27,7 +27,7 @@ jobs: run: set -o pipefail && xcodebuild -workspace 'Braintree.xcworkspace' -sdk 'iphonesimulator' -configuration 'Release' -scheme 'UITests' -destination 'name=iPhone 11,platform=iOS Simulator' test | ./Pods/xcbeautify/xcbeautify integration_test_job: name: Integration - runs-on: macOS-latest + runs-on: macOS-11.2 steps: - name: Checkout repository uses: actions/checkout@v2