Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/leka/ios-monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucieveber committed Mar 29, 2024
2 parents 9b813cb + 697f7b1 commit d2495d4
Show file tree
Hide file tree
Showing 379 changed files with 23,744 additions and 2,674 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci-fastlane-release_app_store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,26 @@ jobs:
run: |
bundle exec fastlane release target:LekaUpdater --verbose
- name: post message
if: ${{ success() }}
uses: marocchino/sticky-pull-request-comment@v2
with:
hide_and_recreate: true
hide_classify: "OUTDATED"
header: release
message: |
## New AppStore Release available :rocket:
@leka/dev-ios
A new version has been uploaded to the App Store and is ready for review.
| <!-- --> | <!-- --> |
|-------------|---------------------------------|
| **App** | `${{ env.APP_NAME }}` |
| **Version** | `${{ env.APP_VERSION_NUMBER }}` |
| **Build** | `${{ env.APP_BUILD_NUMBER }}` |
- name: remove label
if: always()
uses: actions/github-script@v6
Expand Down
30 changes: 29 additions & 1 deletion .github/workflows/ci-fastlane-release_beta_internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1 # shallow clone
fetch-depth: 0
lfs: true

- name: Checkout base, head branches
run: |
git checkout ${{ env.BASE_REF }}
git checkout ${{ env.HEAD_REF }}
env:
BASE_REF: ${{ github.event.pull_request.base.ref }}
HEAD_REF: ${{ github.head_ref }}

- name: Setup mise
run: |
Expand Down Expand Up @@ -77,6 +86,25 @@ jobs:
run: |
bundle exec fastlane beta_internal targets:all --verbose
- name: Post Github comment
if: ${{ success() }}
uses: marocchino/sticky-pull-request-comment@v2
with:
hide_and_recreate: true
hide_classify: "OUTDATED"
header: testflight
message: |
${{ env.CHANGELOG_FOR_GITHUB }}
- name: Post to a Slack channel
id: slack
uses: slackapi/slack-github-action@v1.25.0
with:
channel-id: "C3SHVTYNP,C041YEWNVJS"
slack-message: ${{ env.CHANGELOG_FOR_SLACK }}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

- name: remove label
if: always()
uses: actions/github-script@v6
Expand Down
24 changes: 23 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
- id: trailing-whitespace
- id: end-of-file-fixer
exclude_types: [json]
exclude: '(.*\.xcstrings|\.xcassets)'
exclude: '(.*\.xcstrings|\.xcassets|\.svg)'
- id: check-yaml
exclude: exercise_templates.yml
- id: check-json
Expand Down Expand Up @@ -121,3 +121,25 @@ repos:
files: .*\.activity\.yml
types: [yaml]
pass_filenames: false

- id: check_yaml_content_curriculums
name: Check curriculum.yml files
description: |
This hook checks curriculum.yml files for:
- uuid and filename consistency
- jtd schema validation
entry: python3 Tools/Hooks/check_yaml_content_curriculums.py
language: python
additional_dependencies: ["ruamel.yaml"]
files: .*\.curriculum\.yml
types: [yaml]

- id: check_yaml_content_curriculums_unique_uuid
name: Check curriculum.yml files for unique uuid
description: |
This hook checks curriculum.yml files for unique uuid
entry: python3 Tools/Hooks/check_yaml_content_curriculums_unique_uuid.py
language: python
files: .*\.curriculum\.yml
types: [yaml]
pass_filenames: false
1 change: 1 addition & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ identifier_name:
- rhs
- rx
- tx
- url
- URL

line_length:
Expand Down

This file was deleted.

1 change: 1 addition & 0 deletions Apps/LekaApp/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ let project = Project.app(
.project(target: "GameEngineKit", path: Path("../../Modules/GameEngineKit")),
.external(name: "Yams"),
.external(name: "MarkdownUI"),
.external(name: "Fit"),
]
)
Loading

0 comments on commit d2495d4

Please sign in to comment.