forked from Juanpe/SkeletonView
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update workflows to checkout v4, build iPhone and Validations (#1)
* Update validations.yml update validations * update checkout version github actions * update swiftlint action to ubunut * update to iPhone 15 build
- Loading branch information
1 parent
139912f
commit 7abcccb
Showing
7 changed files
with
65 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
name: Pod lint | ||
on: [workflow_dispatch] | ||
|
||
jobs: | ||
pod_lib_lint: | ||
runs-on: macOS-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
|
||
- env: | ||
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} | ||
run: | | ||
set -eo pipefail | ||
pod lib lint --allow-warnings | ||
pod lib lint --allow-warnings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
name: Pod trunk | ||
on: [workflow_dispatch] | ||
|
||
jobs: | ||
release_version: | ||
runs-on: macOS-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Deploy to Cocoapods | ||
env: | ||
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} | ||
run: | | ||
set -eo pipefail | ||
pod lib lint --allow-warnings | ||
pod trunk push --allow-warnings | ||
pod trunk push --allow-warnings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,26 @@ | ||
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 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Run SwiftLint | ||
run: swiftlint lint --reporter github-actions-logging | ||
- uses: actions/checkout@v4 | ||
- name: GitHub Action for SwiftLint with --reporter | ||
uses: norio-nomura/action-swiftlint@3.2.1 | ||
args: --reporter github-actions-logging | ||
|
||
danger: | ||
danger: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- name: Danger | ||
uses: docker://frmeloni/danger-swift-with-swiftlint:1.3.1 | ||
uses: docker://frmeloni/danger-swift-with-swiftlint:3.15.0 | ||
with: | ||
args: --failOnErrors --verbose | ||
args: --failOnErrors --verbose | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|