-
Notifications
You must be signed in to change notification settings - Fork 16
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 #538 from openedx/develop
Develop to main. Release v2
- Loading branch information
Showing
497 changed files
with
42,363 additions
and
9,901 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,37 @@ | ||
name: SwiftLint | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
pull_request: | ||
|
||
jobs: | ||
lint: | ||
name: Lint | ||
runs-on: macos-latest | ||
|
||
concurrency: | ||
# When running on develop, use the sha to allow all runs of this workflow to run concurrently. | ||
# Otherwise only allow a single run of this workflow on each branch, automatically cancelling older runs. | ||
group: ${{ github.ref == 'refs/heads/develop' && format('swiftlint-develop-{0}', github.sha) || format('swiftlint-{0}', github.ref) }} | ||
cancel-in-progress: true | ||
|
||
steps: | ||
- uses: nschloe/[email protected] | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
path: vendor/bundle | ||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-gems- | ||
- name: Setup environment | ||
run: | ||
source ci_scripts/ci_prepare_env.sh && setup_github_actions_environment | ||
|
||
- name: SwiftLint | ||
run: | ||
bundle exec fastlane linting |
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,49 @@ | ||
name: Test Makefile | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
push: | ||
branches: [ develop ] | ||
|
||
pull_request: | ||
|
||
jobs: | ||
translations: | ||
name: "${{ matrix.case.name }}" | ||
runs-on: macos-14 | ||
|
||
strategy: | ||
matrix: | ||
case: | ||
- name: clean_translations | ||
command: | | ||
make clean_translations; | ||
- name: extract_translations | ||
command: | | ||
make extract_translations; | ||
echo "Ensure combined localization file exists"; | ||
test -f I18N/I18N/en.lproj/Localizable.strings; | ||
- name: pull_translations | ||
command: | ||
make pull_translations; | ||
echo "Files are split properly"; | ||
test -f Authorization/Authorization/uk.lproj/Localizable.strings; | ||
|
||
steps: | ||
- uses: nschloe/[email protected] | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
- name: Use Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.11 | ||
|
||
- name: Install translations requirements | ||
run: make translation_requirements | ||
|
||
- name: "${{ matrix.case.name }}" | ||
run: "${{ matrix.case.command }}" |
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
Oops, something went wrong.