From 4d0c76873e0cf6a2c1d0e14ba3a9e409e08e06cb Mon Sep 17 00:00:00 2001 From: Xing He Date: Wed, 28 Feb 2024 00:11:30 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c54a7d7..0763819 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,17 +1,20 @@ -on: push +on: [push, pull_request] name: Test jobs: test: name: Test - runs-on: macOS-latest + runs-on: macOS-14 steps: - name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v4 with: fetch-depth: 1 + - uses: ruby/setup-ruby@v1 + with: + bundler-cache: true - name: Build and test run: | gem update --system gem install bundler bundle install - bundle exec fastlane test \ No newline at end of file + bundle exec fastlane test