-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from wildlink/kkurz/github-actions
Wildlink API v2.0.0
- Loading branch information
Showing
42 changed files
with
1,762 additions
and
655 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
BUNDLE_PATH: "vendor" |
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
* @wildlink/ios |
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 |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: CI Publish | ||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
pod-lint: | ||
runs-on: macos-11 | ||
steps: | ||
- name: Select Xcode 13 | ||
uses: devbotsxyz/xcode-select@v1 | ||
with: | ||
version: "13" | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
- name: Cache CocoaPods data | ||
uses: actions/cache@v2 | ||
with: | ||
path: Example/Pods | ||
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-pods- | ||
- name: Run pod lib lint | ||
run: | | ||
bundle install | ||
bundle exec fastlane lint | ||
unit-tests: | ||
runs-on: macos-11 | ||
needs: pod-lint | ||
steps: | ||
- name: Select Xcode 13 | ||
uses: devbotsxyz/xcode-select@v1 | ||
with: | ||
version: "13" | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
- name: Cache CocoaPods data | ||
uses: actions/cache@v2 | ||
with: | ||
path: Example/Pods | ||
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-pods- | ||
- name: Run the unit tests | ||
run: | | ||
bundle install | ||
bundle exec fastlane test | ||
# Since this runs free on hosted runners, don't optimize for minimum | ||
# runtime. Instead, make sure we never publish something that doesn't | ||
# pass both lint and unit testing, even after merges. | ||
publish: | ||
runs-on: macOS-11 | ||
needs: unit-tests | ||
steps: | ||
- name: Select Xcode 13 | ||
uses: devbotsxyz/xcode-select@v1 | ||
with: | ||
version: "13" | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
- name: Publish to CocoaPods trunk | ||
env: | ||
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} | ||
run: | | ||
bundle install | ||
bundle exec fastlane publish |
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: GitHub Actions CI | ||
on: [push] | ||
jobs: | ||
pod-lint: | ||
runs-on: macos-11 | ||
steps: | ||
- name: Select Xcode 13 | ||
uses: devbotsxyz/xcode-select@v1 | ||
with: | ||
version: "13" | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
- name: Cache CocoaPods data | ||
uses: actions/cache@v2 | ||
with: | ||
path: Example/Pods | ||
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-pods- | ||
- name: Run pod lib lint | ||
run: | | ||
bundle install | ||
bundle exec fastlane lint | ||
unit-tests: | ||
runs-on: macos-11 | ||
needs: pod-lint | ||
steps: | ||
- name: Select Xcode 13 | ||
uses: devbotsxyz/xcode-select@v1 | ||
with: | ||
version: "13" | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
- name: Cache CocoaPods data | ||
uses: actions/cache@v2 | ||
with: | ||
path: Example/Pods | ||
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-pods- | ||
- name: Run the unit tests | ||
run: | | ||
bundle install | ||
bundle exec fastlane test |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"proseWrap": "always", | ||
"arrowParens": "always", | ||
"printWidth": 100, | ||
"singleQuote": true, | ||
"trailingComma": "all" | ||
} |
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
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"configurations" : [ | ||
{ | ||
"id" : "27F6A6F5-53A7-4B8F-B102-39477FD44CA2", | ||
"name" : "Configuration 1", | ||
"options" : { | ||
|
||
} | ||
} | ||
], | ||
"defaultOptions" : { | ||
"codeCoverage" : { | ||
"targets" : [ | ||
{ | ||
"containerPath" : "container:Pods\/Pods.xcodeproj", | ||
"identifier" : "125C2A8B44D3BE9F6DDE2F72FB819783", | ||
"name" : "Wildlink" | ||
} | ||
] | ||
}, | ||
"testExecutionOrdering" : "random" | ||
}, | ||
"testTargets" : [ | ||
{ | ||
"target" : { | ||
"containerPath" : "container:Pods\/Pods.xcodeproj", | ||
"identifier" : "CC780152B3021C7D84397BE1FA27DEDD", | ||
"name" : "Wildlink-Unit-Tests" | ||
} | ||
}, | ||
{ | ||
"target" : { | ||
"containerPath" : "container:Wildlink.xcodeproj", | ||
"identifier" : "02A0F22822D43ABA00979F78", | ||
"name" : "Wildlink_ExampleTests" | ||
} | ||
} | ||
], | ||
"version" : 1 | ||
} |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// | ||
// Constants.swift | ||
// Wildlink_Example | ||
// | ||
// Created by Kyle Kurz - Wildfire on 10/7/21. | ||
// Copyright © 2021 CocoaPods. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
struct Constants { | ||
static let appId = "<APP_ID>" | ||
static let appSecret = "<APP_SECRET>" | ||
} |
Oops, something went wrong.