Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Convert to TypeScript and Svelte #584

Draft
wants to merge 375 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
375 commits
Select commit Hold shift + click to select a range
177c420
Add identifier
tuanchauict Mar 17, 2024
03b20da
Add quick list and its test
tuanchauict Mar 17, 2024
fabfa3d
Add two way quick map
tuanchauict Mar 17, 2024
58d9f21
Add base of shape extra
tuanchauict Mar 18, 2024
adf6b6f
Define AbstractSerializableShape
tuanchauict Mar 18, 2024
d59fd26
Define AbstractShape
tuanchauict Mar 18, 2024
991986b
Add serializable versions of shapes
tuanchauict Mar 19, 2024
fe56b68
Small improvements to abtract shapes
tuanchauict Mar 20, 2024
bf4c6a0
Add style extra
tuanchauict Mar 20, 2024
aa5552e
Add rectangle and its extra
tuanchauict Mar 29, 2024
46d3a5a
Merge pull request #598 from tuanchauict/shape
tuanchauict Sep 10, 2024
a57b7e5
Bump dependencies
tuanchauict Sep 10, 2024
26a043b
Fix test
tuanchauict Sep 10, 2024
17eb47c
Add predefined styles
tuanchauict Dec 5, 2024
f18f15d
Fix typo abtract -> abstract
tuanchauict Dec 5, 2024
4b248b8
Add ShapeExtraManager and implement LineExtra RectangleExtra
tuanchauict Dec 5, 2024
38b49e6
Minor fix
tuanchauict Dec 5, 2024
33fa5fe
Implement TextExtra
tuanchauict Dec 5, 2024
cf7268b
Add Text shape
tuanchauict Dec 5, 2024
32882ba
Support named arguments
tuanchauict Dec 5, 2024
847342e
Fix nine patch
tuanchauict Dec 5, 2024
8ee08fe
Merge extra manager into shape-extra due to circular dependencies
tuanchauict Dec 5, 2024
94d573f
Add test for Text
tuanchauict Dec 5, 2024
1d2cfe8
Move ShapeExtraManager into a separated file
tuanchauict Dec 6, 2024
10aabe7
Add test for StraightStrokeDashPattern
tuanchauict Dec 6, 2024
f913918
Merge pull request #609 from tuanchauict/text-js
tuanchauict Dec 6, 2024
a831f3a
Add copy to Point
tuanchauict Dec 7, 2024
289f0f7
Add LineHelper
tuanchauict Dec 7, 2024
69ea1c1
Add Line shape
tuanchauict Dec 7, 2024
c4714ca
Merge pull request #612 from tuanchauict/line-js
tuanchauict Dec 7, 2024
a52f611
Rename map -> idToNodeMap
tuanchauict Dec 9, 2024
d035976
Correct type of id and parent
tuanchauict Dec 9, 2024
5719e96
Add Group shape
tuanchauict Dec 9, 2024
5d0bca6
Upgrade version of actions
tuanchauict Dec 9, 2024
1995d25
Add code health check for JS
tuanchauict Dec 9, 2024
01d226c
Correct name
tuanchauict Dec 9, 2024
8e06e54
Use pnpm
tuanchauict Dec 9, 2024
8d7dd4b
Remove vite-plugin-sass plugin
tuanchauict Dec 9, 2024
f82fb9c
Format
tuanchauict Dec 9, 2024
70fac5f
Upgrade dependencies' version
tuanchauict Dec 9, 2024
abd96b4
Fix dummy
tuanchauict Dec 9, 2024
72fab44
Merge pull request #613 from tuanchauict/add-vitest-run-action
tuanchauict Dec 9, 2024
2d52b4d
Merge pull request #614 from tuanchauict/group-js
tuanchauict Dec 9, 2024
8a3511e
Add line-connector
tuanchauict Dec 10, 2024
8837599
Add shape-connector
tuanchauict Dec 10, 2024
f39b122
Merge pull request #615 from tuanchauict/connector-js
tuanchauict Dec 10, 2024
722afe0
Allow decorators
tuanchauict Dec 10, 2024
9eb0d76
Add serializable
tuanchauict Dec 10, 2024
c6b0507
Add test
tuanchauict Dec 10, 2024
594561f
Merge pull request #616 from tuanchauict/serialization-js
tuanchauict Dec 10, 2024
be2b0ae
Add serializer of popular types
tuanchauict Dec 11, 2024
45f2529
Add Jsonizable for SerializableLineConnector
tuanchauict Dec 11, 2024
4b19e2b
Move extra serialziables into a separated file
tuanchauict Dec 11, 2024
fa0e584
Make SerializableRectExtra jsonizable
tuanchauict Dec 11, 2024
a6ee0b4
Make SerializableTextExtra jsonizable
tuanchauict Dec 11, 2024
8cd8cf1
Make SerializableLineExtra jsonizable
tuanchauict Dec 11, 2024
88ec84e
Merge pull request #617 from tuanchauict/serialization-js
tuanchauict Dec 11, 2024
68cceb8
Rename file
tuanchauict Dec 11, 2024
308f6e9
Also check if field is defined
tuanchauict Dec 11, 2024
1fe03dd
Add rect serializer
tuanchauict Dec 11, 2024
c908155
Make SerializableRectangle jsonizable
tuanchauict Dec 11, 2024
438b88a
Make SerializableText jsonizable
tuanchauict Dec 11, 2024
b0afa05
Add array of points serializer
tuanchauict Dec 11, 2024
c6ef0d8
Make SerializableLine jsonizable
tuanchauict Dec 11, 2024
be9fcbb
Make SerializableGroup jsonizable
tuanchauict Dec 11, 2024
647d7e1
Merge pull request #618 from tuanchauict/serialization-js
tuanchauict Dec 11, 2024
9156318
Downgrade to workable eslint version
tuanchauict Dec 11, 2024
4fcff02
Fix lint
tuanchauict Dec 11, 2024
f622cbb
Add lint check
tuanchauict Dec 11, 2024
4f352e7
Merge pull request #619 from tuanchauict/fix-lint
tuanchauict Dec 11, 2024
f8b8808
Remove out dated TODÓ
tuanchauict Dec 11, 2024
c614b95
Add RootGroup
tuanchauict Dec 11, 2024
8d26d33
Make Group compatible
tuanchauict Dec 12, 2024
9ff2578
Add doc
tuanchauict Dec 12, 2024
29f8665
Add ShapeManager
tuanchauict Dec 12, 2024
0ec115b
Add missing api
tuanchauict Dec 12, 2024
ae2bac4
Only allow named argument for creating shapes
tuanchauict Dec 12, 2024
0bcd8db
Add mock shape
tuanchauict Dec 12, 2024
8e4438a
Add Shape manager commands and ShapeManager test
tuanchauict Dec 12, 2024
13d99b4
Fix lint
tuanchauict Dec 12, 2024
f230885
Use reverse instead of toReversed
tuanchauict Dec 12, 2024
d003def
Fix test
tuanchauict Dec 12, 2024
7fdd638
Merge pull request #620 from tuanchauict/shape-manager-js
tuanchauict Dec 12, 2024
ad8255f
Fix a11y tooltip
tuanchauict Dec 12, 2024
f4811ef
Minor fix
tuanchauict Dec 12, 2024
252e46c
Add check run job
tuanchauict Dec 12, 2024
1a1bf45
Merge pull request #621 from tuanchauict/fix-a11y
tuanchauict Dec 12, 2024
73628ed
Add general shape command
tuanchauict Dec 12, 2024
a908c69
Add line-commands
tuanchauict Dec 12, 2024
05b40a1
Add text-commands
tuanchauict Dec 12, 2024
957ad06
Fix lint
tuanchauict Dec 12, 2024
e84306a
Minor improvement
tuanchauict Dec 12, 2024
98a106e
Merge pull request #622 from tuanchauict/shape-manager-js
tuanchauict Dec 12, 2024
fbf3da5
Fix ally for font adjustment item
tuanchauict Dec 12, 2024
a796c1c
Fix a11y and dispose dismiss action if clicking inside the modal
tuanchauict Dec 12, 2024
0e83d36
Correct a11y and role
tuanchauict Dec 12, 2024
0d5833b
Fix a11y
tuanchauict Dec 12, 2024
eba8f87
Fix a11y for menu item
tuanchauict Dec 12, 2024
81111a4
Fix a11y for working project view
tuanchauict Dec 12, 2024
046f4a8
No keyboard focus for tooltip target. its internal content will handl…
tuanchauict Dec 12, 2024
d4f0767
Merge pull request #623 from tuanchauict/fix-a11y
tuanchauict Dec 12, 2024
7d0e50e
Open in new tab
tuanchauict Dec 13, 2024
4c34a7e
Integrate BrowserManager into App
tuanchauict Dec 13, 2024
af5af58
Update application active state
tuanchauict Dec 13, 2024
75dad5a
Update IDE config
tuanchauict Dec 13, 2024
3ff8214
Fix lint
tuanchauict Dec 13, 2024
d220596
Merge pull request #624 from tuanchauict/browser-js
tuanchauict Dec 13, 2024
93bd25d
Add one time actions
tuanchauict Dec 13, 2024
3b5fb8d
Add retainable actions
tuanchauict Dec 13, 2024
ac95653
Force type
tuanchauict Dec 13, 2024
10a40d5
Add action manager
tuanchauict Dec 13, 2024
6a21e80
Integrate action manager in app context
tuanchauict Dec 13, 2024
ddbadbf
Fix lint
tuanchauict Dec 13, 2024
ef8154b
Merge pull request #625 from tuanchauict/action-js
tuanchauict Dec 13, 2024
eeb254f
Implement workspace object dao
tuanchauict Dec 13, 2024
f857c97
Fix lint
tuanchauict Dec 13, 2024
1cd12c8
Merge pull request #626 from tuanchauict/workspace-object-dao-js
tuanchauict Dec 13, 2024
e54ac66
Rename index.ts -> app-ui-state-manager
tuanchauict Dec 13, 2024
dc0a9ee
Define ui state payload
tuanchauict Dec 13, 2024
c5179d3
Use UiStatePayloadType for update ui state
tuanchauict Dec 13, 2024
ceb8eff
Add font size change handler
tuanchauict Dec 13, 2024
3a218ea
Correct font size setting
tuanchauict Dec 13, 2024
26a51c6
Fix lint
tuanchauict Dec 13, 2024
1e8c481
Use app ui state manager instead of accessing theme manager directly
tuanchauict Dec 13, 2024
740f842
Use record instead of switch
tuanchauict Dec 13, 2024
83f04ef
Fix lint
tuanchauict Dec 13, 2024
59dc48a
Merge pull request #627 from tuanchauict/app-ui-state
tuanchauict Dec 13, 2024
b680818
Connect action manager and mouse action buttons
tuanchauict Dec 14, 2024
b554257
Fix lint
tuanchauict Dec 14, 2024
74f8d93
Footer
tuanchauict Dec 16, 2024
a7bd650
Add singleOrNull
tuanchauict Dec 16, 2024
21f10cf
Add RectangleAppearanceDataController
tuanchauict Dec 16, 2024
cc35cd2
Add LineAppearanceDataController
tuanchauict Dec 16, 2024
430d436
Add ShapeToolViewModel
tuanchauict Dec 16, 2024
025da55
Fix lint
tuanchauict Dec 16, 2024
51fb20f
Control visibility of shape tools
tuanchauict Dec 16, 2024
eea57eb
Setup values for transform tool
tuanchauict Dec 16, 2024
9f308ff
Set context for the view model
tuanchauict Dec 16, 2024
d559c83
Replace model's contents with viewModel's
tuanchauict Dec 16, 2024
9d5fd38
Remove debug code
tuanchauict Dec 16, 2024
b85b7e8
Merge pull request #628 from tuanchauict/app-ui-state
tuanchauict Dec 16, 2024
db941e7
Correct getting value from value getter instead of from valueInternal
tuanchauict Dec 17, 2024
695b1b6
Merge pull request #629 from tuanchauict/fix-flow-immutable
tuanchauict Dec 17, 2024
9574f06
Correct defaultExtraStateUpdateFlow.
tuanchauict Dec 17, 2024
befae0d
Connect Fill tool visibility with shapeFillTypeFlow
tuanchauict Dec 17, 2024
8828dfc
Update setting
tuanchauict Dec 17, 2024
b5119a3
Correct text for disable
tuanchauict Dec 17, 2024
ab2f994
Minor improvement
tuanchauict Dec 17, 2024
d003a25
Border and Stroke interactions
tuanchauict Dec 17, 2024
db4c3cb
Fix error
tuanchauict Dec 17, 2024
ecfe690
Merge pull request #630 from tuanchauict/appearance-js
tuanchauict Dec 17, 2024
2bc940b
Line's heads
tuanchauict Dec 17, 2024
266874e
Remove wrong character
tuanchauict Dec 17, 2024
a607ecd
Merge pull request #631 from tuanchauict/appearance-js
tuanchauict Dec 17, 2024
ebe7f49
Link text tool with view model
tuanchauict Dec 17, 2024
f959a6b
Send reorder action
tuanchauict Dec 17, 2024
9023386
Merge pull request #632 from tuanchauict/appearance-js
tuanchauict Dec 17, 2024
b9e5ec8
Add connector array serializer
tuanchauict Dec 18, 2024
e7749b9
Add ShapeClipboardManager
tuanchauict Dec 18, 2024
a5c2f9a
Fix lint
tuanchauict Dec 18, 2024
af64403
Merge pull request #633 from tuanchauict/clipboard-js
tuanchauict Dec 18, 2024
1c1ed8e
Add SelectedShapeManager
tuanchauict Dec 18, 2024
59fac67
Merge pull request #634 from tuanchauict/selected-shape-js
tuanchauict Dec 18, 2024
600b171
Add zone address, zone address manager and zone owners manager
tuanchauict Dec 18, 2024
ffb84d5
Add ShapeZoneAddressManager
tuanchauict Dec 18, 2024
a905156
Add ShapeSearcher
tuanchauict Dec 18, 2024
2a2959b
Fix lint
tuanchauict Dec 18, 2024
7bbfea8
Merge pull request #635 from tuanchauict/shape-searcher-js
tuanchauict Dec 18, 2024
cbaa5e8
Add point char
tuanchauict Dec 18, 2024
c9644d5
Add trimIndent
tuanchauict Dec 19, 2024
8fc27aa
Add toString()
tuanchauict Dec 19, 2024
b28e771
Add RectangleBitmapFactory
tuanchauict Dec 19, 2024
44432e0
Add TextBitmapFactory
tuanchauict Dec 19, 2024
fc02305
Add LineBitmapFactory
tuanchauict Dec 19, 2024
d5236ca
Add MonoBitmapManager
tuanchauict Dec 19, 2024
6ea09d1
Minor change
tuanchauict Dec 19, 2024
bd23d12
Fix lint
tuanchauict Dec 19, 2024
6d62916
Fix test due to new implementation of trimMargin
tuanchauict Dec 19, 2024
6e8f1e6
Use supported api
tuanchauict Dec 19, 2024
e031f08
Merge pull request #636 from tuanchauict/bitmap-manager
tuanchauict Dec 19, 2024
132b4ee
Implement Jump to (0, 0) button
tuanchauict Dec 19, 2024
ae9687d
Custom style for tooltip target
tuanchauict Dec 19, 2024
3763466
Fix size of button
tuanchauict Dec 19, 2024
7dc4e7a
Minor fix
tuanchauict Dec 19, 2024
93904fa
Define main state manager
tuanchauict Dec 20, 2024
406525e
Expose drawing info to main state manager
tuanchauict Dec 20, 2024
fcfef05
Store and restore drawing offset
tuanchauict Dec 20, 2024
228ae7e
Add StateHistoryManager
tuanchauict Dec 20, 2024
c2e9011
Restore saved state of a project id
tuanchauict Dec 20, 2024
b51121d
Remove unused code
tuanchauict Dec 20, 2024
ff60fd7
Merge pull request #637 from tuanchauict/state-manager
tuanchauict Dec 20, 2024
0440833
Add ClipboardManager
tuanchauict Dec 20, 2024
e82da40
Update platform detection
ibretsam Dec 20, 2024
43ac31d
Define base apis of OneTimeActionHandler
tuanchauict Dec 20, 2024
2005af7
Integrate one time action handler to state manager
tuanchauict Dec 20, 2024
ce2ccb1
Merge pull request #640 from tuanchauict/state-manager
tuanchauict Dec 20, 2024
a689336
Add MonoFile
tuanchauict Dec 20, 2024
fb7673a
Add shape serialization util
tuanchauict Dec 20, 2024
59a828d
Add export shape helper
tuanchauict Dec 20, 2024
4f3e129
Implement FileRelatedActionsHelper
tuanchauict Dec 20, 2024
d3394c0
Draft a dialog and existing project dialog
tuanchauict Dec 20, 2024
048c304
Show existing project dialog
tuanchauict Dec 20, 2024
7aebeeb
Update style of Dialog
tuanchauict Dec 21, 2024
44772b0
Fix bg of menu item
tuanchauict Dec 21, 2024
2c5f9cf
Correct ui of dialog and existing project dialog
tuanchauict Dec 21, 2024
d3e8c53
Fix lint
tuanchauict Dec 21, 2024
5f3d3a8
Merge pull request #641 from tuanchauict/state-manager
tuanchauict Dec 21, 2024
c68d4e2
Fix default value of theme
tuanchauict Dec 21, 2024
39e4bb1
Fix UUID
tuanchauict Dec 21, 2024
aa752ef
Fix formatting
ibretsam Dec 21, 2024
d87bef6
Implement setTextAlignment setSelectedShapeStartAnchorExtra setSelect…
tuanchauict Dec 21, 2024
9dd60ef
setSelectedLineStrokeCornerExtra
tuanchauict Dec 21, 2024
29c1d0d
Merge pull request #643 from tuanchauict/one-time-action
tuanchauict Dec 21, 2024
2063d4f
Merge pull request #639 from ibretsam/port-to-js
tuanchauict Dec 21, 2024
76f94ae
Add Portal to allow modal to be appended outside the host component
tuanchauict Feb 1, 2025
f46ed04
Make NoBackgroundModal to be a portal
tuanchauict Feb 1, 2025
23052f5
Manage recent project dialog visible state locally
tuanchauict Feb 1, 2025
b335c0d
Use query selector instead of real node
tuanchauict Feb 1, 2025
de175a0
Use portal for tooltip
tuanchauict Feb 1, 2025
bc3b350
Simplify tooltip visible condition
tuanchauict Feb 1, 2025
5880e74
Simplify app dropdown menu visibility control
tuanchauict Feb 1, 2025
324f112
Simplify visibility control of current project dropdown
tuanchauict Feb 1, 2025
11a3d5f
Fix position when resize
tuanchauict Feb 2, 2025
d71b3e8
Fix lint
tuanchauict Feb 2, 2025
8bad977
Move the host of renaming project to working project view
tuanchauict Feb 2, 2025
c5102d4
Rename viewmodel.ts -> project-data-viewmodel.ts
tuanchauict Feb 2, 2025
b8c7752
Wrap Project manager into a component
tuanchauict Feb 2, 2025
929f50a
Access project list view model via context
tuanchauict Feb 2, 2025
3e31297
Minor format
tuanchauict Feb 2, 2025
6a9d59b
Move project data view model into nav/project
tuanchauict Feb 2, 2025
64856c4
Fix lint
tuanchauict Feb 2, 2025
158c471
Merge pull request #646 from tuanchauict/change-project-management-di…
tuanchauict Feb 2, 2025
0550b41
Load project list from data store
tuanchauict Feb 3, 2025
e64b802
Do not use the initial root for the root id
tuanchauict Feb 3, 2025
eac3f74
Fix title not update after rename
tuanchauict Feb 3, 2025
8367b56
Fix rename modal not apply when pressing enter
tuanchauict Feb 3, 2025
3c9af67
Correct opening project observation
tuanchauict Feb 3, 2025
6646efe
Fix lint
tuanchauict Feb 3, 2025
232a119
Merge pull request #647 from tuanchauict/change-project-management-di…
tuanchauict Feb 3, 2025
fe18ff6
Fix position of drawing info canvas overlaps nav bar
tuanchauict Feb 4, 2025
db229e7
Observe change from other opened tab for rendering name
tuanchauict Feb 4, 2025
fb65f73
Merge pull request #648 from tuanchauict/change-project-management-di…
tuanchauict Feb 5, 2025
f20486c
Create AlertDialog and use it for Existing project dialog
tuanchauict Feb 6, 2025
6aa8935
Merge pull request #649 from tuanchauict/change-project-management-di…
tuanchauict Feb 6, 2025
f188ed8
Show keyboard shortcuts modal directly within app dropdown menu
tuanchauict Feb 13, 2025
419c243
Merge pull request #650 from tuanchauict/keyboard-modal
tuanchauict Feb 13, 2025
0bb4802
Fix type of RenameCurrentProject
tuanchauict Feb 13, 2025
51fcec8
Handle new project via action handler
tuanchauict Feb 13, 2025
50f60a9
Update project list after delete
tuanchauict Feb 13, 2025
1581602
Merge pull request #651 from tuanchauict/new-project
tuanchauict Feb 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
99 changes: 99 additions & 0 deletions .github/workflows/code-heal-check-node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
name: Code health check Node
on:
pull_request:
push:
branches:
- main
- port-to-js
jobs:
vitest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install pnpm
run: npm install -g pnpm
- name: Cache node modules
uses: actions/cache@v4
with:
path: |
monosketch-svelte/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('monosketch-svelte/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: cd monosketch-svelte && pnpm install
- name: Run Vitest
run: cd monosketch-svelte && pnpm run test

bundle_svelte:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install pnpm
run: npm install -g pnpm
- name: Cache node modules
uses: actions/cache@v4
with:
path: |
monosketch-svelte/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('monosketch-svelte/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: cd monosketch-svelte && pnpm install
- name: Build Svelte
run: cd monosketch-svelte && pnpm run build

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install pnpm
run: npm install -g pnpm
- name: Cache node modules
uses: actions/cache@v4
with:
path: |
monosketch-svelte/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('monosketch-svelte/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: cd monosketch-svelte && pnpm install
- name: Run Lint
run: cd monosketch-svelte && pnpm run lint

check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install pnpm
run: npm install -g pnpm
- name: Cache node modules
uses: actions/cache@v4
with:
path: |
monosketch-svelte/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('monosketch-svelte/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: cd monosketch-svelte && pnpm install
- name: Run Lint
run: cd monosketch-svelte && pnpm run check
22 changes: 11 additions & 11 deletions .github/workflows/code-health-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ jobs:
unit_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- name: Cache local maven repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
Expand All @@ -28,7 +28,7 @@ jobs:
if: failure()
run: sh tools/devops/remove_success_test_report
- name: Publish test result
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-result
Expand All @@ -40,13 +40,13 @@ jobs:
ktlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- name: Cache local maven repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
Expand All @@ -60,19 +60,19 @@ jobs:
assemble:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- name: Cache local maven repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-

- run: ./gradlew assemble
3 changes: 3 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading