mirror of
https://github.com/hustcer/deepseek-review.git
synced 2026-05-13 05:16:05 +08:00
Compare commits
3 Commits
v1.12
...
feature/lo
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
adf7e63560 | ||
|
|
55958cd4a9 | ||
|
|
88ea2aed5e |
26
.github/workflows/tests.yml
vendored
26
.github/workflows/tests.yml
vendored
@@ -70,3 +70,29 @@ jobs:
|
||||
--report { type: junit, path: test-report.xml }
|
||||
--returns summary | to json | save --force test-summary.json
|
||||
)
|
||||
|
||||
- name: Publish Test Summary
|
||||
if: runner.os == 'macOS' && matrix.version == '*' && github.ref == 'refs/heads/main'
|
||||
shell: nu {0}
|
||||
run: |
|
||||
let filename = 'test-summary.json'
|
||||
let gist_id = 'b99391ee59016b17d0befe3331387e89'
|
||||
|
||||
let data = {
|
||||
files: {
|
||||
"test-summary.json": {
|
||||
content: (open --raw $filename)
|
||||
}
|
||||
}
|
||||
}
|
||||
(
|
||||
$data | http patch
|
||||
--redirect-mode 'follow'
|
||||
--content-type 'application/json'
|
||||
--headers {
|
||||
'X-GitHub-Api-Version': '2022-11-28'
|
||||
'Accept': 'application/vnd.github+json'
|
||||
'Authorization': $'Bearer ${{ secrets.GH_PAT }}'
|
||||
}
|
||||
$'https://api.github.com/gists/($gist_id)'
|
||||
) | ignore
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
<p align="center">
|
||||
<img src="./CR.jpg" width="90" height="60" alt="DeepSeek Code Review Logo" />
|
||||
</p>
|
||||
|
||||
# DeepSeek Code Review
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
[中文说明](README.zh-CN.md)
|
||||
|
||||
`deepseek-review` also offers seamless integration with DeepSeek models on SiliconCloud. [Sign Up Now](https://cloud.siliconflow.cn/i/rqCdIxzS) to **Claim Your Free 20 Million Tokens** and start exploring its capabilities!
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
# DeepSeek 代码审查
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
本工具也支持使用 SiliconCloud 上的 DeepSeek 模型,[注册](https://cloud.siliconflow.cn/i/rqCdIxzS) 就**免费赠送 2000 万 Token**,赶紧试试吧!
|
||||
|
||||
## 特性
|
||||
|
||||
@@ -26,7 +26,10 @@
|
||||
# - Local PR Review: just cr -r hustcer/deepseek-review -n 32
|
||||
|
||||
use kv.nu *
|
||||
use common.nu [ECODE, hr-line, is-installed, git-check, has-ref, compare-ver, compact-record, windows?, mac?]
|
||||
use common.nu [
|
||||
ECODE, hr-line, is-installed, windows?, mac?,
|
||||
compare-ver, compact-record, git-check, has-ref,
|
||||
]
|
||||
|
||||
const RESPONSE_END = 'data: [DONE]'
|
||||
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
|
||||
use std/assert
|
||||
|
||||
use ../nu/review.nu [is-safe-git, generate-include-regex, generate-exclude-regex, prepare-awk, get-diff]
|
||||
use ../nu/review.nu [
|
||||
get-diff, is-safe-git, prepare-awk,
|
||||
generate-include-regex, generate-exclude-regex,
|
||||
]
|
||||
|
||||
# Get the unicode width of the input string
|
||||
def get-uw [] { $in | str stats | get unicode-width }
|
||||
|
||||
Reference in New Issue
Block a user