Develop #1
No files matched your search
@@ -2,14 +2,17 @@ name: CI
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main, master]
|
branches: [main, master, develop]
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
# Pin the toolchain to the declared MSRV so CI matches production.
|
# Pin the toolchain to the declared MSRV so CI matches production.
|
||||||
RUST_TOOLCHAIN: 1.90.0
|
RUST_TOOLCHAIN: 1.90.0
|
||||||
GO_VERSION: "1.25.0"
|
# The differential check compares Rust against net/http behaviour, which
|
||||||
|
# changes between Go releases (e.g. ServeMux redirects 301 -> 307), so the
|
||||||
|
# reference must be built with the same Go the Rust port mirrors.
|
||||||
|
GO_VERSION: "1.27.3"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
rust:
|
rust:
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- "v*.*.*"
|
- "v*.*.*"
|
||||||
|
- "v*"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY_HOST: ${{ vars.REGISTRY_HOST || 'gitea.com' }}
|
REGISTRY_HOST: ${{ vars.REGISTRY_HOST || 'gitea.com' }}
|
||||||
|
|||||||
@@ -124,7 +124,8 @@ against the same `BALANCE_DB_PATH`; do not run both writers simultaneously.
|
|||||||
Existing accounts, access/refresh tokens and saved device cursors remain usable.
|
Existing accounts, access/refresh tokens and saved device cursors remain usable.
|
||||||
See [deployment and rollback](docs/DEPLOYMENT.md) for the full procedure.
|
See [deployment and rollback](docs/DEPLOYMENT.md) for the full procedure.
|
||||||
|
|
||||||
Verify the implementations locally with Go 1.25+, Rust and Python 3:
|
Verify the implementations locally with Go 1.27.3 (the version CI uses for the
|
||||||
|
differential check), Rust and Python 3:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cargo test --locked
|
cargo test --locked
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## Требования
|
## Требования
|
||||||
|
|
||||||
Production-сервер использует Rust 1.90+ и bundled SQLite. Go 1.25+ нужен для сохранённой эталонной реализации и differential-проверок. Python 3 используется без сторонних пакетов.
|
Production-сервер использует Rust 1.90+ и bundled SQLite. Go 1.25+ нужен для сохранённой эталонной реализации; differential-проверки (`tools/compatibility.py`) требуют Go 1.27.3, как в CI: поведение `net/http` (например, код редиректа ServeMux 301/307) зависит от версии Go. Python 3 используется без сторонних пакетов.
|
||||||
|
|
||||||
Проверить локальную версию:
|
Проверить локальную версию:
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user