Skip to content

Commit 3dcbb92

Browse files
authored
Synced with plugin template v7 (#26)
1 parent a9815e9 commit 3dcbb92

90 files changed

Lines changed: 8022 additions & 2524 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
title: "💬 "
2+
body:
3+
4+
- type: checkboxes
5+
attributes:
6+
label: Is there an existing issue for this?
7+
description: Please search to see if an issue already exists for the bug you encountered.
8+
options:
9+
- label: I have searched the existing open and closed issues
10+
required: true
11+
- label: I have searched all discussions
12+
required: true
13+
- label: I have starred the repository
14+
required: true
15+
16+
- type: dropdown
17+
id: category
18+
attributes:
19+
label: 📂 Catetory
20+
description: Select at least one category
21+
options:
22+
- ❔ Question
23+
- 💡 Idea
24+
- 🗣️ Feedback
25+
default: 0
26+
validations:
27+
required: true
28+
29+
- type: textarea
30+
id: topic
31+
attributes:
32+
label: 📌 Topic
33+
description: What would you like to discuss?
34+
placeholder: Short description of your question, feedback or idea
35+
validations:
36+
required: true
37+
38+
- type: textarea
39+
id: details
40+
attributes:
41+
label: ℹ️ Details
42+
description: Provide more context or background
43+
placeholder: Add any relevant details here
44+
validations:
45+
required: true

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ body:
4747
- 4.5.1.stable
4848
- 4.6.stable
4949
- 4.6.1.stable
50+
- 4.6.2.stable
5051
- 4.x
5152
- Other
5253
default: 2

.github/actions/install-ec/action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,27 @@ runs:
3232
# Determine OS and Architecture
3333
OS_TYPE=$(echo "${{ runner.os }}" | tr '[:upper:]' '[:lower:]')
3434
ARCH_TYPE=$(uname -m)
35-
35+
3636
# Map architecture to release naming conventions
37-
if [ "$ARCH_TYPE" = "x86_64" ]; then
37+
if [ "$ARCH_TYPE" = "x86_64" ]; then
3838
ARCH="amd64"
39-
elif [ "$ARCH_TYPE" = "aarch64" ] || [ "$ARCH_TYPE" = "arm64" ]; then
39+
elif [ "$ARCH_TYPE" = "aarch64" ] || [ "$ARCH_TYPE" = "arm64" ]; then
4040
ARCH="arm64"
4141
else
4242
echo "Unsupported architecture: $ARCH_TYPE"
4343
exit 1
4444
fi
45-
45+
4646
ASSET="ec-${OS_TYPE}-${ARCH}"
4747
4848
echo "Downloading ${ASSET}..."
4949
curl -sSLO "https://github.com/editorconfig-checker/editorconfig-checker/releases/download/v${{ inputs.version }}/${ASSET}.tar.gz"
50-
50+
5151
tar xzf "${ASSET}.tar.gz"
5252
mkdir -p "$HOME/.local/bin"
5353
mv "bin/${ASSET}" "$HOME/.local/bin/editorconfig-checker"
5454
chmod +x "$HOME/.local/bin/editorconfig-checker"
55-
55+
5656
# Clean up
5757
rm -rf "${ASSET}.tar.gz" bin/
5858

.github/actions/install-node/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ runs:
1212
if: env.ACT == 'true'
1313
shell: bash
1414
run: |
15-
NODE_VERSION=22.13.1
15+
NODE_VERSION=24.14.1
1616
1717
OS=$(uname -s)
1818
ARCH=$(uname -m)
@@ -49,6 +49,6 @@ runs:
4949
5050
- name: Setup Node (GitHub)
5151
if: env.ACT != 'true'
52-
uses: actions/setup-node@v4
52+
uses: actions/setup-node@v6
5353
with:
54-
node-version: 22
54+
node-version: 24

.github/config/.rubocop.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
#
2+
# © 2026-present https://github.com/cengiz-pz
3+
#
4+
15
AllCops:
26
TargetRubyVersion: 3.2
37
NewCops: pending

.github/config/.swiftlint.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
#
2+
# © 2026-present https://github.com/cengiz-pz
3+
#
4+
15
included:
26
- ios/src
37

@@ -16,6 +20,7 @@ opt_in_rules:
1620
- private_action
1721
- redundant_nil_coalescing
1822
- sorted_imports
23+
- indentation_width
1924

2025
disabled_rules:
2126
- empty_parameters
@@ -34,6 +39,11 @@ file_length:
3439
warning: 500
3540
error: 700
3641

42+
indentation_width:
43+
indentation_style: tab
44+
width: 4
45+
unindent_closure_body: true
46+
3747
identifier_name:
3848
min_length: 2
3949
excluded:

.github/config/prettier.xml.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"plugins": ["@prettier/plugin-xml"],
3-
"printWidth": 108,
4-
"useTabs": true,
5-
"tabWidth": 2,
6-
"endOfLine": "lf",
7-
"xmlSortAttributesByKey": false,
8-
"xmlQuoteAttributes": "preserve",
9-
"xmlSelfClosingSpace": true,
10-
"xmlWhitespaceSensitivity": "ignore",
11-
"singleAttributePerLine": false
2+
"plugins": ["@prettier/plugin-xml"],
3+
"printWidth": 108,
4+
"useTabs": true,
5+
"tabWidth": 2,
6+
"endOfLine": "lf",
7+
"xmlSortAttributesByKey": false,
8+
"xmlQuoteAttributes": "preserve",
9+
"xmlSelfClosingSpace": true,
10+
"xmlWhitespaceSensitivity": "ignore",
11+
"singleAttributePerLine": false
1212
}

.github/workflows/android-build.yml

Lines changed: 0 additions & 48 deletions
This file was deleted.

.github/workflows/android-ci.yml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
#
2+
# © 2026-present https://github.com/cengiz-pz
3+
#
4+
5+
name: Android CI
6+
7+
on:
8+
pull_request:
9+
branches: [ main ]
10+
paths:
11+
- 'common/config/**'
12+
- 'common/**/*.gradle.kts'
13+
- 'android/config/**'
14+
- 'android/src/**'
15+
- 'android/**/*.gradle.kts'
16+
17+
jobs:
18+
android-build-and-test:
19+
name: Android Build & Tests
20+
runs-on: ubuntu-22.04
21+
22+
steps:
23+
# -- Checkout ------------------------------------------------------------
24+
- name: Checkout repository
25+
uses: actions/checkout@v6
26+
27+
# -- Node ----------------------------------------------------------------
28+
- name: Install Node
29+
uses: ./.github/actions/install-node
30+
31+
# -- Java ----------------------------------------------------------------
32+
- name: Set up JDK
33+
uses: actions/setup-java@v5
34+
with:
35+
distribution: temurin
36+
java-version: 17
37+
cache: gradle
38+
39+
# -- Android SDK ---------------------------------------------------------
40+
- name: Setup Android SDK
41+
uses: android-actions/setup-android@v3
42+
43+
# -- Gradle --------------------------------------------------------------
44+
- name: Make Gradle wrapper executable
45+
run: chmod +x common/gradlew
46+
47+
# -- Run Android build ---------------------------------------------------
48+
- name: Build Android debug
49+
working-directory: common
50+
run: ./gradlew buildAndroidDebug --no-daemon --stacktrace
51+
52+
# -- Run Android tests ---------------------------------------------------
53+
# printTestSummary:
54+
# • runs testDebugUnitTest (ignoreFailures = true so coverage can follow)
55+
# • runs createDebugUnitTestCoverageReport
56+
# • prints a formatted TEST RESULTS + CODE COVERAGE table
57+
# • throws GradleException (non-zero exit) only when failed > 0
58+
- name: Run Android unit tests
59+
id: android_tests
60+
working-directory: common
61+
run: ./gradlew :android:printTestSummary --no-daemon
62+
continue-on-error: true
63+
64+
# Upload the JUnit XML reports so GitHub can annotate the PR even when
65+
# the step above fails (always: true keeps this step active on failure).
66+
- name: Upload Android test results
67+
if: always()
68+
uses: actions/upload-artifact@v6
69+
with:
70+
name: android-test-results
71+
path: android/build/test-results/testDebugUnitTest/
72+
if-no-files-found: ignore
73+
74+
# Re-fail the job after the artifact is safely uploaded
75+
- name: Fail job if tests failed
76+
if: steps.android_tests.outcome == 'failure'
77+
run: exit 1

.github/workflows/android-style.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
- name: Run Checkstyle
3535
run: |
36-
CHECKSTYLE_VERSION="13.3.0"
36+
CHECKSTYLE_VERSION="12.3.1"
3737
wget "https://github.com/checkstyle/checkstyle/releases/download/checkstyle-${CHECKSTYLE_VERSION}/checkstyle-${CHECKSTYLE_VERSION}-all.jar" \
3838
-O checkstyle-all.jar
3939
java -jar checkstyle-all.jar -c .github/config/checkstyle.xml android/src

0 commit comments

Comments
 (0)