diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e227c0d4..cd68efc6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ jobs: name: Carthage runs-on: macos-13 steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4 - uses: AckeeCZ/load-xcode-version@1.1.0 - name: Build run: carthage build --no-skip-current --cache-builds --use-xcframeworks diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 0e4f6b3a..1f3dccdc 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -8,14 +8,14 @@ jobs: name: Swiftlint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4 - name: GitHub Action for SwiftLint uses: norio-nomura/action-swiftlint@3.1.0 changelog: name: Changelog runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4 - name: Changelog Reminder uses: peterjgrainger/action-changelog-reminder@v1.2.0 with: @@ -26,7 +26,7 @@ jobs: name: Podspec runs-on: macos-13 steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4 - name: Install Bundler dependencies run: bundle install - name: Lint podspec diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c859bfb8..d41e012b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,7 +10,7 @@ jobs: name: Upload Carthage binary runs-on: macos-13 steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4 - uses: AckeeCZ/load-xcode-version@1.1.0 - name: Build run: carthage build --no-skip-current --cache-builds --use-xcframeworks @@ -33,7 +33,7 @@ jobs: name: Push podspec to Cocoapods trunk runs-on: macos-13 steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4 - uses: AckeeCZ/load-xcode-version@1.1.0 - name: Install gems run: bundle install diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d24b2955..4731e3b6 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4 - name: Generate Documentation uses: SwiftDocOrg/swift-doc@master with: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8ae45d22..6a47b384 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,26 +7,21 @@ jobs: name: Run tests runs-on: macos-13 steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4 - uses: AckeeCZ/load-xcode-version@1.1.0 - - name: Install yeetd - run: | - wget https://github.com/biscuitehh/yeetd/releases/download/1.0/yeetd-normal.pkg - sudo installer -pkg yeetd-normal.pkg -target / - yeetd & - name: Run iOS tests - env: - DEVICE: iPhone 15 Pro Max run: | xcrun simctl boot "$DEVICE" - set -o pipefail && xcodebuild test -scheme ACKategories-iOS -resultBundlePath Tests-iOS.xcresult -sdk iphonesimulator -destination "platform=iOS Simulator,name=$DEVICE,OS=latest" ONLY_ACTIVE_ARCH=YES | xcpretty + set -o pipefail && xcodebuild test -scheme ACKategories-iOS -resultBundlePath Tests-iOS.xcresult -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 15 Pro Max,OS=latest" ONLY_ACTIVE_ARCH=YES | xcpretty - uses: actions/upload-artifact@v3 if: failure() with: + name: Tests-iOS.xcresult path: Tests-iOS.xcresult - name: Run macOS tests run: set -o pipefail && xcodebuild test -scheme ACKategoriesCore -resultBundlePath Tests-macOS.xcresult -destination 'platform=OS X,arch=x86_64' | xcpretty - uses: actions/upload-artifact@v3 if: failure() with: + name: Tests-macOS.xcresult path: Tests-macOS.xcresult \ No newline at end of file