Skip to content

Commit 72f051e

Browse files
authored
Merge pull request #105 from alexmac6574/impr-cap
feat: Improve stability and performance for automatic captcha solver, fallback to manual captcha
2 parents 37ee4e0 + ec5e5b7 commit 72f051e

File tree

10 files changed

+1772
-452
lines changed

10 files changed

+1772
-452
lines changed

.github/workflows/issues.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: "Close Stale Issues"
2+
on:
3+
schedule:
4+
- cron: "0 0 * * 3"
5+
workflow_dispatch:
6+
7+
jobs:
8+
stale:
9+
permissions:
10+
issues: write
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
stale-issue-message: >
17+
Привет! 👋
18+
<br><br>
19+
Данный issue давно не обновлялся. Если в течение недели здесь не будет больше активности, issue будет закрыт.
20+
<br><br>
21+
Спасибо!
22+
close-issue-message: "Issue был закрыт из-за отсутствия активности."
23+
days-before-stale: 120
24+
days-before-close: 7
25+
operations-per-run: 1000
26+
ascending: true
27+
enable-statistics: true
28+
stale-issue-label: "Stale"

.github/workflows/release.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
cgo: 0
4444
- goos: linux
4545
goarch: riscv64
46-
cgo: 0
46+
cgo: 0
4747
- goos: darwin
4848
goarch: amd64
4949
cgo: 0
@@ -135,7 +135,7 @@ jobs:
135135
go build -ldflags "-s -w -checklinkname=0" -trimpath \
136136
-o "dist/client-${GOOS}-${GOARCH}${EXT}" \
137137
./client
138-
138+
139139
GOOS=$GOOS GOARCH=$GOARCH GOARM=$GOARM GOMIPS=$GOMIPS \
140140
go build -ldflags "-s -w -checklinkname=0" -trimpath \
141141
-o "dist/server-${GOOS}-${GOARCH}${EXT}" \
@@ -243,21 +243,21 @@ jobs:
243243
244244
{
245245
if [ -n "$BREAKING" ]; then
246-
echo "### Несовместимые изменения"
246+
echo "### Breaking Changes"
247247
echo
248248
printf '%s\n' "$BREAKING" | sed 's/^/- /'
249249
echo
250250
fi
251251
252252
if [ -n "$FEATURES" ]; then
253-
echo "### Новые функции"
253+
echo "### Features"
254254
echo
255255
printf '%s\n' "$FEATURES" | sed 's/^/- /'
256256
echo
257257
fi
258258
259259
if [ -n "$FIXES" ]; then
260-
echo "### Исправление багов"
260+
echo "### Bug Fixes"
261261
echo
262262
printf '%s\n' "$FIXES" | sed 's/^/- /'
263263
echo
@@ -298,10 +298,10 @@ jobs:
298298
uses: actions/checkout@v6
299299

300300
- name: Set up QEMU
301-
uses: docker/setup-qemu-action@v3
301+
uses: docker/setup-qemu-action@v4
302302

303303
- name: Set up Docker Buildx
304-
uses: docker/setup-buildx-action@v3
304+
uses: docker/setup-buildx-action@v4
305305

306306
- name: Prepare image name
307307
id: image
@@ -311,23 +311,23 @@ jobs:
311311
echo "name=ghcr.io/$(echo "$REPOSITORY" | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_OUTPUT"
312312
313313
- name: Log in to GitHub Container Registry
314-
uses: docker/login-action@v3
314+
uses: docker/login-action@v4
315315
with:
316316
registry: ghcr.io
317317
username: ${{ github.actor }}
318318
password: ${{ secrets.GITHUB_TOKEN }}
319319

320320
- name: Extract Docker metadata
321321
id: meta
322-
uses: docker/metadata-action@v5
322+
uses: docker/metadata-action@v6
323323
with:
324324
images: ${{ steps.image.outputs.name }}
325325
tags: |
326326
type=raw,value=latest
327327
type=raw,value=${{ needs.release.outputs.tag_name }}
328328
329329
- name: Build and push Docker image
330-
uses: docker/build-push-action@v6
330+
uses: docker/build-push-action@v7
331331
with:
332332
context: .
333333
file: ./Dockerfile

README.md

Lines changed: 101 additions & 15 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)