From 4fc322a275342105b60d4cf07e11b2f9be633be3 Mon Sep 17 00:00:00 2001 From: ogulcan keskin Date: Fri, 15 Sep 2023 22:51:35 +0300 Subject: [PATCH] test --- .github/workflows/pullRequest.yml | 33 +++++-------------------------- 1 file changed, 5 insertions(+), 28 deletions(-) diff --git a/.github/workflows/pullRequest.yml b/.github/workflows/pullRequest.yml index c7f7c66..aa300dd 100644 --- a/.github/workflows/pullRequest.yml +++ b/.github/workflows/pullRequest.yml @@ -8,44 +8,21 @@ on: jobs: test: - runs-on: macos-11 + runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v3 - name: Cancel Previous Runs uses: styfle/cancel-workflow-action@0.9.1 with: access_token: ${{ github.token }} - - uses: maxim-lobanov/setup-xcode@v1 - with: - xcode-version: latest-stable - - uses: ruby/setup-ruby@v1 - name: Install Bundler run: gem install bundler - - name: Install gems - run: bundle install - - - name: Swift Packages Cache - uses: actions/cache@v2 - id: cache - with: - path: | - Build/SourcePackages - Build/Build/Products - key: ${{ runner.os }}-deps-v1-${{ hashFiles('BILDsolid.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved') }} - restore-keys: ${{ runner.os }}-deps-v1- - - - name: Run Tests (No Cache) - if: steps.setup.outputs.cache-hit != 'true' - run: bundle exec fastlane unit_test - - - name: Run Tests (Cache) - if: steps.setup.outputs.cache-hit == 'true' - run: bundle exec fastlane unit_test skip_package_dependencies_resolution:true - - + - name: Run Fastlane + run: bundle exec fastlane tests