-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
407 changed files
with
1,241 additions
and
37,446 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,5 @@ | ||
# Lines starting with '#' are comments. | ||
# Each line is a file pattern followed by one or more owners. | ||
|
||
# These owners will be the default owners for everything in the repo. | ||
* @JoeMatt |
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,34 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
--- | ||
|
||
## Describe the bug | ||
|
||
<!-- A clear and concise description of what the bug is. --> | ||
|
||
## To Reproduce | ||
|
||
<!-- | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
--> | ||
|
||
## Expected behavior | ||
|
||
<!-- A clear and concise description of what you expected to happen. --> | ||
|
||
## Screenshots/stack traces/Logs | ||
|
||
<!-- If applicable, add attachments to help explain your problem. --> | ||
|
||
## Version | ||
|
||
<!-- Here please indicate the RxReachability version number you are using. --> | ||
|
||
## Additional context | ||
|
||
<!-- Add any other context about the problem here. --> |
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,21 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
--- | ||
|
||
## Overview | ||
|
||
<!--Briefly describe the feature you are interested in seeing --> | ||
|
||
|
||
## Reasons | ||
|
||
<!-- Indicate your reasoning behind this request. Discuss alternatives that you may have considered. --> | ||
|
||
## Priority | ||
|
||
<!-- What timeframe would be best for you. Is this blocking a high traffic project release? --> | ||
|
||
## Considerations / Context | ||
|
||
<!-- Add any other context or examples about the feature request here --> |
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,13 @@ | ||
## What does this PR do? | ||
|
||
## Where should the reviewer start? | ||
|
||
## How should this be manually tested? | ||
|
||
## Any background context you want to provide? | ||
|
||
## What are the relevant tickets? | ||
|
||
## Screenshots (if appropriate) | ||
|
||
## Questions |
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,16 @@ | ||
# Rebase PR branch when someone comments /rebase | ||
on: | ||
issue_comment: | ||
types: [created] | ||
name: Automatic Rebase | ||
jobs: | ||
rebase: | ||
name: Rebase | ||
if: contains(github.event.comment.body, '/rebase') | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Automatic Rebase | ||
uses: cirrus-actions/rebase@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,27 @@ | ||
name: Swift PM | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- reopened | ||
- opened | ||
- synchronize | ||
|
||
jobs: | ||
swift-pm: | ||
|
||
runs-on: macOS-latest | ||
|
||
steps: | ||
- uses: actions/checkout@master | ||
- name: Swift Setup | ||
uses: YOCKOW/[email protected] | ||
with: | ||
swift-version: '5.2.0' # This value is passed to swiftenv without modification. | ||
- run: swift --version | ||
- name: Resolve | ||
run: swift package resolve | ||
- name: Build | ||
run: swift build -v | ||
- name: Run tests | ||
run: swift test --parallel -v |
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,22 @@ | ||
name: Swift Lint | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- ".github/workflows/swiftlint.yml" | ||
- ".swiftlint.yml" | ||
- "RxReachability-Example/**/*.swift" | ||
- "Sources/**/*.swift" | ||
- "Tests/**/*.swift" | ||
|
||
jobs: | ||
swift-lint: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: GitHub Action for SwiftLint | ||
uses: norio-nomura/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
DIFF_BASE: ${{ github.base_ref }} |
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,71 @@ | ||
disabled_rules: # rule identifiers to exclude from running | ||
- missing_docs | ||
- unused_closure_parameter | ||
- identifier_name | ||
- weak_delegate | ||
- cyclomatic_complexity | ||
- function_body_length | ||
- todo | ||
- large_tuple | ||
|
||
opt_in_rules: # some rules are only opt-in | ||
- empty_count | ||
# Find all the available rules by running: | ||
# swiftlint rules | ||
|
||
included: # paths to include during linting. `--path` is ignored if present. | ||
- Sources | ||
- Tests | ||
excluded: # paths to ignore during linting. Takes precedence over `included`. | ||
- Carthage | ||
- Pods | ||
|
||
# configurable rules can be customized from this configuration file | ||
# binary rules can set their severity level | ||
force_cast: warning # implicitly | ||
force_try: | ||
severity: warning # explicitly | ||
|
||
# rules that have both warning and error levels, can set just the warning level | ||
# implicitly | ||
line_length: 500 | ||
|
||
# they can set both implicitly with an array | ||
type_body_length: | ||
- 300 # warning | ||
- 400 # error | ||
|
||
# or they can set both explicitly | ||
file_length: | ||
warning: 600 | ||
error: 1200 | ||
|
||
# naming rules can set warnings/errors for min_length and max_length | ||
# additionally they can set excluded names | ||
type_name: | ||
min_length: 3 # only warning | ||
max_length: # warning and error | ||
warning: 40 | ||
error: 50 | ||
excluded: # excluded via string | ||
- T | ||
- t | ||
|
||
identifier_name: | ||
min_length: # only min_length | ||
error: 3 # only error | ||
excluded: # excluded via string array | ||
- id | ||
- vc | ||
- to | ||
- a | ||
- b | ||
- t | ||
- x | ||
- y | ||
- z | ||
- p | ||
- xy | ||
- dx | ||
- dy | ||
- gr |
2 changes: 1 addition & 1 deletion
2
...ject.xcworkspace/contents.xcworkspacedata → ...kage.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,23 +1,15 @@ | ||
osx_image: xcode10.2 | ||
language: objective-c | ||
# references: | ||
# * https://www.objc.io/issues/6-build-tools/travis-ci/ | ||
# * https://github.com/supermarin/xcpretty#usage | ||
|
||
notifications: | ||
email: | ||
- [email protected] | ||
osx_image: xcode11.5 | ||
language: objective-c | ||
|
||
# Ensure that fastlane is at the latest version | ||
before_install: | ||
- brew update | ||
- brew outdated carthage || brew upgrade carthage | ||
- bundle install | ||
- bundle exec pod install --repo-update | ||
- brew install swiftlint | ||
- brew install cocoapods | ||
- pod repo update | ||
|
||
jobs: | ||
include: | ||
- stage: test | ||
script: | ||
- bundle exec fastlane test | ||
- stage: deploy | ||
if: tag IS present | ||
script: | ||
- bundle exec fastlane deploy | ||
script: | ||
- swiftlint | ||
- pod lib lint --allow-warnings |
Oops, something went wrong.