Commit Graph

28 Commits

Author SHA1 Message Date
dagecko
e0f6d18618 ci: pin selected third-party Actions to commit SHAs (#1873)
Co-authored-by: krahets <krahets@163.com>
2026-10-11 01:31:36 +08:00
Pádraic Slattery
112ee773e8 ci: update checkout and selected language setup Actions (#1848)
Co-authored-by: krahets <krahets@163.com>
2026-10-11 01:27:27 +08:00
Santosh Maturi
4d4e22a507 ci: add Zig 0.14.1 build and test workflow (#1863)
* ci: add Zig CI workflow

Add GitHub Actions workflow for Zig (the only supported language
without CI). Runs zig build and zig build test on ubuntu, macOS,
and Windows. Targets Zig 0.14.1 per codes/zig/build.zig.

Co-Authored-By: claude-flow <ruv@ruv.net>

* ci: use a compatible macOS image for Zig 0.14.1

---------

Co-authored-by: Santosh Maturi <santhum@amazon.com>
Co-authored-by: claude-flow <ruv@ruv.net>
Co-authored-by: krahets <krahets@163.com>
2026-10-11 01:27:13 +08:00
Yudong Jin
620abe42f3 fix: sync array, deque, and printing fixes across translations (#1973)
Synchronize the fixes from #1936, #1824, and #1961 across translated editions and normalize C# and Dart formatting. Move Java CI to Ubuntu 24.04 so its Java 11/17 checks can run.
2026-10-11 00:58:16 +08:00
Yudong Jin
2778a6f9c7 Translate all code to English (#1836)
* Review the EN heading format.

* Fix pythontutor headings.

* Fix pythontutor headings.

* bug fixes

* Fix headings in **/summary.md

* Revisit the CN-to-EN translation for Python code using Claude-4.5

* Revisit the CN-to-EN translation for Java code using Claude-4.5

* Revisit the CN-to-EN translation for Cpp code using Claude-4.5.

* Fix the dictionary.

* Fix cpp code translation for the multipart strings.

* Translate Go code to English.

* Update workflows to test EN code.

* Add EN translation for C.

* Add EN translation for CSharp.

* Add EN translation for Swift.

* Trigger the CI check.

* Revert.

* Update en/hash_map.md

* Add the EN version of Dart code.

* Add the EN version of Kotlin code.

* Add missing code files.

* Add the EN version of JavaScript code.

* Add the EN version of TypeScript code.

* Fix the workflows.

* Add the EN version of Ruby code.

* Add the EN version of Rust code.

* Update the CI check for the English version  code.

* Update Python CI check.

* Fix cmakelists for en/C code.

* Fix Ruby comments
2025-12-31 07:44:52 +08:00
Shyam Chen
da230312cd ci: run CI with Node.js v24 (LTS) (#1822) 2025-10-30 20:27:41 +08:00
nuomi1
84bb11522e feat: remove setup-swift (#1312)
* feat: remove setup-swift

* Test failure

* Test success

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2024-04-30 15:59:56 +08:00
nuomi1
ca55e818a5 feat: update os and swift (#1311) 2024-04-28 22:22:03 +08:00
Shyam Chen
1a99dd420f feat(JavaScript): Add the workflow file for CI check (#1296)
* feat(JavaScript): Add the workflow file for CI check

* Apply suggestions from code review
Co-authored-by: krahets <krahets@163.com>

* Test failure

* Update javascript.yml

* Test success

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2024-04-22 17:51:44 +08:00
Shyam Chen
587344da62 feat(TypeScript): Add the workflow file for CI check (#1280)
* feat(TypeScript): Add the workflow file for CI check

* fix: Install TypeScript Execute (tsx)

* test: Test failed

* test: Test successful

* test: on windows

* Add a bug

* feat: type checking

* test: Test successful

* feat: add main

* fix: use process

* feat: use es-main

* Test failure

* feat: streamlined configuration

* Apply suggestions from code review
Co-authored-by: Yudong Jin <krahets@163.com>

* feat: remove lock file

* Test failure

* Test success

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2024-04-19 18:48:58 +08:00
curtishd
39e2e1a5c1 feat(Kotlin): Add the workflow file for CI check (#1251)
* ci(kotlin): Add workflow file.

* Update kotlin.yml

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2024-04-09 20:54:30 +08:00
khoaxuantu
41dd677338 Add Ruby test CI (#1242)
* test: add test all Ruby code

* test: add ruby test ci

* Update ruby.yml

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2024-04-09 03:20:04 +08:00
nuomi1
7359a7cb4b Review Swift codes (#1150)
* feat(swift): review for chapter_computational_complexity

* feat(swift): review for chapter_data_structure

* feat(swift): review for chapter_array_and_linkedlist

* feat(swift): review for chapter_stack_and_queue

* feat(swift): review for chapter_hashing

* feat(swift): review for chapter_tree

* feat(swift): add codes for heap article

* feat(swift): review for chapter_heap

* feat(swift): review for chapter_graph

* feat(swift): review for chapter_searching

* feat(swift): review for chapter_sorting

* feat(swift): review for chapter_divide_and_conquer

* feat(swift): review for chapter_backtracking

* feat(swift): review for chapter_dynamic_programming

* feat(swift): review for chapter_greedy

* feat(swift): review for utils

* feat(swift): update ci tool

* feat(swift): trailing closure

* feat(swift): array init

* feat(swift): map index
2024-03-20 21:15:39 +08:00
hpstory
b9ae4ffe9a feature: add auto-build-and-test workflow for go (#1019)
* fix(csharp): unified array statement

* feature: add workflow for go/js/ts/zig

* fix python UnicodeDecodeError on windows

* Update space_complexity.go

* Update space_complexity_test.go

* Update space_complexity.go

* remove nodejs, zip workflow

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2024-01-12 14:17:21 +08:00
hpstory
56b20eff36 feat(csharp) .NET 8.0 code migration (#966)
* .net 8.0 migration

* update docs

* revert change

* revert change and update appendix docs

* remove static

* Update binary_search_insertion.cs

* Update binary_search_insertion.cs

* Update binary_search_edge.cs

* Update binary_search_insertion.cs

* Update binary_search_edge.cs

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-11-26 23:18:44 +08:00
易春风
9526838a35 feat: add rust workflow (#952) 2023-11-18 14:03:39 +08:00
krahets
a01363234c Add auto-build-and-check workflow for Java. 2023-11-17 01:11:13 +08:00
krahets
e4aa76ed3e Fix build check trigger path of c and cpp. 2023-11-17 00:24:35 +08:00
Yudong Jin
a999db21ee feat: Add auto-build-and-test workflow for C and C++ (#948)
* Add C auto-build-and-test workflow.

* Add auto-build-and-test workflow for C++.
2023-11-16 20:46:37 +08:00
Yudong Jin
23cce00e09 Fix Python build check script. (#911)
* Fix Python build check script.

* Update python code check workflow

* Update python test script.

* Compatible with Python >=3.9

* Compatible with Python >=3.10

* Fix errors in Windows

* test

* Add Python version in installation.md

* Update test_all.py
2023-11-02 21:58:14 +08:00
liuyuxin
08311f954a CI(dart): Cancel beta and dev Dart SDK (#893) 2023-10-26 22:23:26 +08:00
krahets
9f4076d1c1 Update to checkout@v4 2023-10-26 00:09:25 +08:00
liuyuxin
a8b2350705 feat(dart): Add build check for Dart (#886)
* feat(dart): Add build check for Dart

* feat(dart): Add dart analyze to check

* fix(dart): remove dart analyze

* feat(dart): Ignore unused variable and add dart analyze
2023-10-25 23:15:53 +08:00
nuomi1
dbc76ec806 Add workflow_dispatch to Swift, Python and C# CI Check (#882)
* Update swift.yml

* Update dotnet.yml

* Update python.yml

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-10-24 23:08:15 +08:00
hpstory
fb3ce050c1 feat(csharp): add .net building and testing workflow, solution file (#879) 2023-10-24 17:13:29 +08:00
krahets
d27890d98d Fix automating build workflow for Python 2023-10-23 16:06:33 +08:00
Yudong Jin
1b9978998a Create python.yml (#877) 2023-10-23 05:59:00 +08:00
nuomi1
e81c9a85b5 Add CI check for Swift (#875)
* Create swift.yml

* Update swift.yml

* Update swift.yml

* Update swift.yml
2023-10-23 04:28:05 +08:00