-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare for release Rugby: Remastered
- Loading branch information
1 parent
a4ce409
commit 7b09909
Showing
214 changed files
with
1,485 additions
and
9,375 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,26 @@ | ||
> **Note**<br> | ||
> Rugby 1.x is frozen for new feature requests. Please, open only requests with bug fixes.\ | ||
That's because there is [the new Rugby2.x version](https://github.com/swiftyfinch/Rugby/releases/tag/2.0.0b7) and it will be released soon.\ | ||
This new version isn't back-compatible with the first one and has an absolutely different code base.\ | ||
Also, Rugby2.x will be a closed code for the first time. And then I will open source after all preparations.\ | ||
Sorry for that freeze time, I hope we continue to develop this product together in the nearest future. | ||
|
||
<!-- | ||
Hello! | ||
Before you submit your request, please replace the paragraph | ||
below with the relevant details, and complete the steps in the | ||
checklist by placing an 'x' in each box: | ||
- [x] I've completed this task | ||
- [ ] This task isn't completed | ||
Provide links to an existing issue or external references/discussions, if appropriate. | ||
--> | ||
|
||
### Description | ||
Please describe your pull request. | ||
<!--Please describe your pull request.--> | ||
|
||
### References | ||
Provide links to an existing issue or external references/discussions, if appropriate. | ||
<!--Provide links to an existing issue or external references/discussions, if appropriate.--> | ||
|
||
### Checklist | ||
- [ ] I've added at least one test that validates that my change is working, if appropriate | ||
- [ ] I've followed the code style of the rest of the project | ||
- [ ] I've read the [Contribution Guidelines](CONTRIBUTING.md) | ||
- [ ] I've updated the documentation if necessary | ||
|
||
❤️ Thanks for contributing to the 🏈 Rugby! | ||
<!--❤️ Thanks for contributing to the 🏈 Rugby!--> |
This file was deleted.
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,10 +1,10 @@ | ||
# It's a temporary solution to check the spelling of Docs/*.md and Sources/Rugby/*.swift files | ||
# It's a temporary solution to check the spelling of *.md and Sources/*.swift files | ||
# Need to install https://github.com/fromkk/SpellChecker | ||
|
||
docs_output=`find Docs -type f -name '*.md' -exec ~/.mint/bin/SpellChecker --yml .github/scripts/spell_checker_whitelist.yml -- {} \; | grep -v 'no typo'` | ||
docs_output=`find . -type f -name '*.md' -exec ~/.mint/bin/SpellChecker --yml .github/scripts/spell_checker_whitelist.yml -- {} \; | grep -v 'no typo'` | ||
if [[ $docs_output ]]; then echo $docs_output; fi | ||
|
||
source_output=`find Sources/Rugby -type f -name '*.swift' -exec ~/.mint/bin/SpellChecker --yml .github/scripts/spell_checker_whitelist.yml -- {} \; | grep -v 'no typo'` | ||
source_output=`find Sources -type f -name '*.swift' -exec ~/.mint/bin/SpellChecker --yml .github/scripts/spell_checker_whitelist.yml -- {} \; | grep -v 'no typo'` | ||
if [[ $source_output ]]; then echo $source_output; fi | ||
|
||
if [[ $docs_output || $source_output ]]; then exit 1; fi | ||
if [[ $docs_output || $source_output ]]; then exit 1; fi |
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 |
---|---|---|
|
@@ -3,209 +3,29 @@ name: Regress | |
on: [workflow_dispatch, pull_request] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: norio-nomura/[email protected] | ||
with: { args: --strict } | ||
|
||
spelling: | ||
runs-on: macos-11.0 | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- uses: fjcaetano/[email protected] | ||
with: { package: fromkk/SpellChecker } | ||
- name: Check spelling | ||
run: sh .github/scripts/checkSpell.sh | ||
|
||
rugby-13: | ||
runs-on: macos-11.0 | ||
rugby: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: { xcode-version: '13.0' } | ||
with: { xcode-version: '14.1' } | ||
- name: Build Rugby | ||
run: | | ||
swift build -c release | ||
path=`swift build -c release --show-bin-path` | ||
strip -rSTx "$path/rugby" | ||
echo "rugby_path=$path/rugby" >> $GITHUB_ENV | ||
swift run rugby --version | ||
- uses: actions/upload-artifact@v2 | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: rugby | ||
path: ${{ env.rugby_path }} | ||
#========================================================================== | ||
cache-both: | ||
needs: rugby-13 | ||
runs-on: macos-11.0 | ||
env: { project-directory: ./TestProject } | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/download-artifact@v2 | ||
with: { name: rugby } | ||
- run: chmod +x rugby && echo `pwd` >> $GITHUB_PATH | ||
- run: rugby -h | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: { xcode-version: '12.5.1' } | ||
|
||
# Prepare TestProject | ||
- uses: ruby/setup-ruby@v1 | ||
with: { ruby-version: 2.7.2, bundler-cache: true, working-directory: TestProject } | ||
- run: bundle | ||
working-directory: ${{ env.project-directory }} | ||
- uses: actions/cache@v2 | ||
with: | ||
path: TestProject/Pods | ||
key: ${{ runner.os }}-pods-${{ hashFiles('Podfile.lock') }} | ||
restore-keys: ${{ runner.os }}-pods- | ||
|
||
# Tests | ||
- name: Tests | ||
run: bundle exec fastlane cache_both | ||
working-directory: ${{ env.project-directory }} | ||
#========================================================================== | ||
cache-exclude: | ||
needs: rugby-13 | ||
runs-on: macos-11.0 | ||
env: { project-directory: ./TestProject } | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/download-artifact@v2 | ||
with: { name: rugby } | ||
- run: chmod +x rugby && echo `pwd` >> $GITHUB_PATH | ||
- run: rugby -h | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: { xcode-version: '12.5.1' } | ||
|
||
# Prepare TestProject | ||
- uses: ruby/setup-ruby@v1 | ||
with: { ruby-version: 2.7.2, bundler-cache: true, working-directory: TestProject } | ||
- run: bundle | ||
working-directory: ${{ env.project-directory }} | ||
- uses: actions/cache@v2 | ||
with: | ||
path: TestProject/Pods | ||
key: ${{ runner.os }}-pods-${{ hashFiles('Podfile.lock') }} | ||
restore-keys: ${{ runner.os }}-pods- | ||
|
||
# Tests | ||
- name: Tests | ||
run: bundle exec fastlane cache_exclude | ||
working-directory: ${{ env.project-directory }} | ||
#========================================================================== | ||
cache-config: | ||
needs: rugby-13 | ||
runs-on: macos-11.0 | ||
env: { project-directory: ./TestProject } | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/download-artifact@v2 | ||
with: { name: rugby } | ||
- run: chmod +x rugby && echo `pwd` >> $GITHUB_PATH | ||
- run: rugby -h | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: { xcode-version: '12.5.1' } | ||
|
||
# Prepare TestProject | ||
- uses: ruby/setup-ruby@v1 | ||
with: { ruby-version: 2.7.2, bundler-cache: true, working-directory: TestProject } | ||
- run: bundle | ||
working-directory: ${{ env.project-directory }} | ||
- uses: actions/cache@v2 | ||
with: | ||
path: TestProject/Pods | ||
key: ${{ runner.os }}-pods-${{ hashFiles('Podfile.lock') }} | ||
restore-keys: ${{ runner.os }}-pods- | ||
|
||
# Tests | ||
- name: Tests | ||
run: bundle exec fastlane cache_different_config | ||
working-directory: ${{ env.project-directory }} | ||
#========================================================================== | ||
drop: | ||
needs: rugby-13 | ||
runs-on: macos-11.0 | ||
env: { project-directory: ./TestProject } | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/download-artifact@v2 | ||
with: { name: rugby } | ||
- run: chmod +x rugby && echo `pwd` >> $GITHUB_PATH | ||
- run: rugby -h | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: { xcode-version: '12.5.1' } | ||
|
||
# Prepare TestProject | ||
- uses: ruby/setup-ruby@v1 | ||
with: { ruby-version: 2.7.2, bundler-cache: true, working-directory: TestProject } | ||
- run: bundle | ||
working-directory: ${{ env.project-directory }} | ||
- uses: actions/cache@v2 | ||
with: | ||
path: TestProject/Pods | ||
key: ${{ runner.os }}-pods-${{ hashFiles('Podfile.lock') }} | ||
restore-keys: ${{ runner.os }}-pods- | ||
|
||
# Tests | ||
- name: Tests | ||
run: bundle exec fastlane drop_tests | ||
working-directory: ${{ env.project-directory }} | ||
#========================================================================== | ||
focus: | ||
needs: rugby-13 | ||
runs-on: macos-11.0 | ||
env: { project-directory: ./TestProject } | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/download-artifact@v2 | ||
with: { name: rugby } | ||
- run: chmod +x rugby && echo `pwd` >> $GITHUB_PATH | ||
- run: rugby -h | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: { xcode-version: '12.5.1' } | ||
|
||
# Prepare TestProject | ||
- uses: ruby/setup-ruby@v1 | ||
with: { ruby-version: 2.7.2, bundler-cache: true, working-directory: TestProject } | ||
- run: bundle | ||
working-directory: ${{ env.project-directory }} | ||
- uses: actions/cache@v2 | ||
with: | ||
path: TestProject/Pods | ||
key: ${{ runner.os }}-pods-${{ hashFiles('Podfile.lock') }} | ||
restore-keys: ${{ runner.os }}-pods- | ||
|
||
# Tests | ||
- name: Tests | ||
run: bundle exec fastlane focus_tests | ||
working-directory: ${{ env.project-directory }} | ||
#========================================================================== | ||
plans: | ||
needs: rugby-13 | ||
runs-on: macos-11.0 | ||
env: { project-directory: ./TestProject } | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/download-artifact@v2 | ||
with: { name: rugby } | ||
- run: chmod +x rugby && echo `pwd` >> $GITHUB_PATH | ||
- run: rugby -h | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: { xcode-version: '12.5.1' } | ||
|
||
# Prepare TestProject | ||
- uses: ruby/setup-ruby@v1 | ||
with: { ruby-version: 2.7.2, bundler-cache: true, working-directory: TestProject } | ||
- run: bundle | ||
working-directory: ${{ env.project-directory }} | ||
- uses: actions/cache@v2 | ||
with: | ||
path: TestProject/Pods | ||
key: ${{ runner.os }}-pods-${{ hashFiles('Podfile.lock') }} | ||
restore-keys: ${{ runner.os }}-pods- | ||
|
||
# Tests | ||
- name: Tests | ||
run: bundle exec fastlane plans_tests | ||
working-directory: ${{ env.project-directory }} |
Oops, something went wrong.