From 898b98c6a66fa7fcefafd70fa975884564d11e2e Mon Sep 17 00:00:00 2001 From: Lucas Romano Date: Wed, 12 Jun 2024 11:20:09 -0300 Subject: [PATCH 1/3] update version cocoapods --- SkeletonView.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SkeletonView.podspec b/SkeletonView.podspec index bd48f7ca..746f20e8 100644 --- a/SkeletonView.podspec +++ b/SkeletonView.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "SkeletonView" - s.version = "1.31.0" + s.version = "1.32.0" s.summary = "An elegant way to show users that something is happening and also prepare them to which contents he is waiting" s.description = <<-DESC Today almost all apps have async processes, as API requests, long runing processes, etc. And while the processes are working, usually developers place a loading view to show users that something is going on. From b24352be3615c2c7903ecf54c137b14e715a5a5f Mon Sep 17 00:00:00 2001 From: Lucas Romano Date: Fri, 29 Nov 2024 12:34:00 -0300 Subject: [PATCH 2/3] fix validations --- .github/workflows/validations.yml | 35 +++++++++++++------------------ 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/.github/workflows/validations.yml b/.github/workflows/validations.yml index 624fd917..788a2cbb 100644 --- a/.github/workflows/validations.yml +++ b/.github/workflows/validations.yml @@ -1,34 +1,29 @@ name: Validations -on: +on: pull_request_target: branches: [main] types: [opened, reoneped, edited, synchronized] -# workflow_dispatch: -# inputs: -# commit hash: -# description: "Commit hash" -# required: true -# default: "" - jobs: - lint: - runs-on: macos-latest + SwiftLint: + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Run SwiftLint - run: swiftlint lint --reporter github-actions-logging - - danger: + - uses: actions/checkout@v1 + - name: GitHub Action for SwiftLint (Only files changed in the PR) + uses: norio-nomura/action-swiftlint@3.2.1 + env: + DIFF_BASE: ${{ github.base_ref }} + - name: GitHub Action for SwiftLint with --reporter + uses: norio-nomura/action-swiftlint@3.2.1 + args: --reporter github-actions-logging + Danger: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Danger - uses: docker://frmeloni/danger-swift-with-swiftlint:1.3.1 + uses: 417-72KI/danger-swiftlint@v5.10 # Look at the `Note for version` with: - args: --failOnErrors --verbose + args: --failOnErrors --verbose env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - From a65ff54a61e04179e9f5f6739f82b2bc5f0788eb Mon Sep 17 00:00:00 2001 From: Lucas Romano Date: Fri, 29 Nov 2024 12:42:31 -0300 Subject: [PATCH 3/3] fix iPhone version to build --- .github/workflows/main.yml | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 739883a1..86025a93 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,13 +10,28 @@ jobs: runs-on: macos-latest strategy: matrix: - build-config: - - { scheme: 'SkeletonView iOS', destination: 'platform=iOS Simulator,name=iPhone 8', sdk: 'iphonesimulator' } - - { scheme: 'SkeletonView tvOS', destination: 'platform=tvOS Simulator,name=Apple TV', sdk: 'appletvsimulator' } - - { scheme: 'iOS Example', destination: 'platform=iOS Simulator,name=iPhone 8', sdk: 'iphonesimulator' } - - { scheme: 'tvOS Example', destination: 'platform=tvOS Simulator,name=Apple TV', sdk: 'appletvsimulator' } + build-config: + - { + scheme: "SkeletonView iOS", + destination: "platform=iOS Simulator,name=iPhone 15", + sdk: "iphonesimulator", + } + - { + scheme: "SkeletonView tvOS", + destination: "platform=tvOS Simulator,name=Apple TV", + sdk: "appletvsimulator", + } + - { + scheme: "iOS Example", + destination: "platform=iOS Simulator,name=iPhone 15", + sdk: "iphonesimulator", + } + - { + scheme: "tvOS Example", + destination: "platform=tvOS Simulator,name=Apple TV", + sdk: "appletvsimulator", + } steps: - uses: actions/checkout@v2 - name: Build run: xcodebuild clean build -workspace 'SkeletonView.xcworkspace' -scheme '${{ matrix.build-config['scheme'] }}' -sdk '${{ matrix.build-config['sdk'] }}' -destination '${{ matrix.build-config['destination'] }}' -