From 41a0d87a85451b05919e51dcb1bf285d68ba9e51 Mon Sep 17 00:00:00 2001 From: Meng Li Date: Tue, 11 Oct 2022 09:12:41 +0900 Subject: [PATCH] Update build_check.yml --- .github/workflows/build_check.yml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_check.yml b/.github/workflows/build_check.yml index ec28d60..a93e133 100644 --- a/.github/workflows/build_check.yml +++ b/.github/workflows/build_check.yml @@ -8,12 +8,23 @@ on: jobs: build: - - runs-on: macOS-latest + runs-on: macOS-12 steps: - - uses: actions/checkout@v1 - - name: Bundle install - run: bundle install + - uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: '14.0' + - uses: actions/checkout@v3 + - name: Set up ruby env + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.7.2 + bundler-cache: true + - uses: actions/cache@v3 + with: + path: Pods + key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} + restore-keys: | + ${{ runner.os }}-pods- - name: Run test run: bundle exec fastlane test