Commit graph

45 commits

Author SHA1 Message Date
yangdx
445adfc9cb Add name to lint-and-format job in GitHub workflow 2025-12-02 05:17:28 +08:00
dependabot[bot]
88357675ea
Bump the github-actions group with 7 updates
Bumps the github-actions group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `2` | `6` |
| [actions/setup-python](https://github.com/actions/setup-python) | `2` | `6` |
| [docker/build-push-action](https://github.com/docker/build-push-action) | `5` | `6` |
| [oven-sh/setup-bun](https://github.com/oven-sh/setup-bun) | `1` | `2` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `4` | `5` |
| [actions/download-artifact](https://github.com/actions/download-artifact) | `4` | `6` |
| [actions/stale](https://github.com/actions/stale) | `9` | `10` |


Updates `actions/checkout` from 2 to 6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v6)

Updates `actions/setup-python` from 2 to 6
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v6)

Updates `docker/build-push-action` from 5 to 6
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

Updates `oven-sh/setup-bun` from 1 to 2
- [Release notes](https://github.com/oven-sh/setup-bun/releases)
- [Commits](https://github.com/oven-sh/setup-bun/compare/v1...v2)

Updates `actions/upload-artifact` from 4 to 5
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

Updates `actions/download-artifact` from 4 to 6
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v6)

Updates `actions/stale` from 9 to 10
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v9...v10)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: docker/build-push-action
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: oven-sh/setup-bun
  dependency-version: '2'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/download-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/stale
  dependency-version: '10'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 20:45:49 +00:00
Christian Clauss
d2ab7fb246
Add Python 3.13 and 3.14 to the testing 2025-11-28 16:15:16 +01:00
palanisd
c233da6318
Update copilot-setup-steps.yml 2025-11-23 17:42:04 -05:00
palanisd
1b0413ee74
Create copilot-setup-steps.yml 2025-11-22 15:29:05 -05:00
yangdx
656025b75e Rename GitHub workflow from "Tests" to "Offline Unit Tests" 2025-11-18 13:36:00 +08:00
yangdx
4ea2124001 Add GitHub CI workflow and test markers for offline/integration tests
- Add GitHub Actions workflow for CI
- Mark integration tests requiring services
- Add offline test markers for isolated tests
- Skip integration tests by default
- Configure pytest markers and collection
2025-11-18 11:36:10 +08:00
yangdx
daeca17f38 Change default docker image to offline version
• Add lite verion docker image with tiktoken cache
• Update docs and build scripts
2025-10-16 16:52:01 +08:00
yangdx
8cc8bbf486 Change Docker build cache mode from max to min
• Reduce cache storage usage
• Try to fix GithHub Action failure
2025-10-16 12:24:51 +08:00
yangdx
e6332ce512 Add reminder note to manual Docker build workflow 2025-10-16 11:45:27 +08:00
yangdx
19c05f9ea4 Add static 'offline' tag to Docker image metadata 2025-10-15 15:56:42 +08:00
yangdx
6d1ae40478 Add offline Docker build support with embedded models and cache
- Add offline Dockerfile with tiktoken cache
- Create GitHub workflow for offline builds
- Update dockerignore for cleaner builds
- Exclude dev dirs from package setup
- Remove tiktoken volume from compose
2025-10-15 15:40:30 +08:00
yangdx
e5cbc593f4 Optimize Docker build with multi-stage frontend compilation
• Add frontend build stage to Dockerfile
• Remove --production flag from bun install
• Fix frontend asset integration
2025-10-14 15:02:58 +08:00
yangdx
8bf411314e Standardize build commands and remove --emptyOutDir flag
• Uses exact versions from `bun.lock` without updating
• Skips devDependencies, saving time and bandwidth
• The --emptyOutDir already configured in vite.config.ts
2025-10-14 02:49:25 +08:00
yangdx
be9e6d1612 Exclude Frontend Build Artifacts from Git Repository
• Automate frontend build in CI/CD
• Add build validation checks
• Clean git repo of build artifacts
• Comprehensive build guide docs
• Smart setup.py build validation
2025-10-13 23:43:34 +08:00
yangdx
4772148901 ci: only tag latest for stable releases, skip pre-releases
• Add pre-release detection step
• Check for 'rc' and 'dev' in tags
• Conditionally apply latest tag
• Skip latest for pre-releases
• Preserve stable release tagging
2025-09-26 23:41:08 +08:00
yangdx
ff6c061aa9 Remove conditional check for latest Docker tag
- Remove is_default_branch condition
- Always apply latest tag
2025-09-08 23:23:13 +08:00
yangdx
d57fce1aac Add manual trigger to PyPI publish workflow 2025-09-08 22:03:54 +08:00
yangdx
0ccf2036c6 Refactor Docker workflows: rename and clean up build processes
• Rename workflows for clarity
• Remove debug git commands
2025-09-05 11:46:56 +08:00
yangdx
cf31d636c2 Add git tag fetching and debug output to Docker workflow 2025-09-05 11:28:28 +08:00
yangdx
9181649bae Add version sync to __init__.py in Docker workflows 2025-09-05 10:56:46 +08:00
yangdx
d85ff5b9d7 Fix variable reference in PyPI publish workflow 2025-09-05 02:37:22 +08:00
yangdx
b88ab7c04e Revert "Remove PyPI environment from publish workflow"
This reverts commit 688550a9c6.
2025-09-05 02:00:44 +08:00
yangdx
688550a9c6 Remove PyPI environment from publish workflow 2025-09-05 01:53:20 +08:00
yangdx
ed5b9b414c Add automatic version extraction from git tags to PyPI workflow
* Fetch full git history for tags
* Extract version from latest git tag
* Update __init__.py with tag version
* Display updated version for verification
2025-09-05 01:48:53 +08:00
yangdx
09334ca8db Fix git tag detection in Docker publish workflow
- Fetch full git history for tags
- Add debug output for found tag
- Enable proper tag resolution
2025-09-05 01:11:48 +08:00
yangdx
e16c302f5f Use git tag for Docker image versioning instead of semver
• Add step to get latest git tag
• Replace semver with raw tag value
• Maintain latest tag for default branch
• Fix tag resolution in CI pipeline
2025-09-05 01:00:24 +08:00
yangdx
4dfbe5e2db Rename workflow and remove latest tag from Docker build
• Rename docker-build-main to manual
• Remove latest tag from metadata
2025-08-27 15:14:23 +08:00
yangdx
eebc8938ed Update action name 2025-08-24 00:02:57 +08:00
yangdx
a82f126418 Rename github action name 2025-08-23 23:58:33 +08:00
yangdx
8b1e54c8b4 Update Docker workflow name to clarify release trigger
• Clarified workflow purpose
• Added "on Release" to name
2025-08-23 23:55:27 +08:00
yangdx
9a66c944e2 Add Docker build workflow for main branch with manual trigger
- Manual workflow dispatch trigger
- Multi-platform build support
- GHCR registry integration
- Git tag-based versioning
- GitHub Actions cache optimization
2025-08-23 23:50:06 +08:00
yangdx
e6de125eb4 Fix linting 2025-07-20 08:20:53 +08:00
yangdx
9f670fcc72 Add workflow to mark stale issues and PRs
- Runs daily at 22:30 UTC+08
- Marks issues stale after 90 days
- Closes stale issues after 7 more days
2025-07-20 08:20:21 +08:00
yangdx
b058b59355 Add workflow_dispatch to docker-publish.yml 2025-05-16 00:51:11 +08:00
yangdx
451cff8756 Add arm64 to docker-publish workflow 2025-05-16 00:27:07 +08:00
yangdx
c6e943976a Update docker publish tags 2025-05-14 12:21:18 +08:00
yangdx
1797670a4d Add docker publish workflow 2025-05-14 12:06:58 +08:00
zrguo
1720771cdf
Create pypi-publish.yml 2025-04-27 02:11:52 +08:00
zrguo
1e3634f6da Delete pypi-publish.yml 2025-04-27 02:09:13 +08:00
zrguo
1f9764189c Update pypi-publish.yml 2025-04-27 01:49:20 +08:00
zrguo
120f9ca6c0 Create pypi-publish.yml 2025-04-27 01:45:03 +08:00
yangdx
810dc66450 Add --show-diff-on-failure flag to pre-commit run 2025-03-25 13:35:08 +08:00
Sanketh Kumar
a157e8e0a2 Manually reformatted files 2024-10-25 13:32:25 +05:30
Sanketh Kumar
2401e21ef2 Added linting actions for pull request 2024-10-25 13:23:08 +05:30