Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q7GrBSRPVXhrz3RAprWDnt
27 lines
701 B
YAML
27 lines
701 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: ShellCheck
|
|
run: shellcheck -S warning -e SC1090,SC2034,SC2211 scripts/*.sh
|
|
- name: Python
|
|
run: python3 -m py_compile scripts/kit-sub.py
|
|
- name: Генераторы
|
|
run: node --test tools/test/*.test.js
|
|
- name: Версия в скриптах совпадает с VERSION
|
|
run: |
|
|
v=$(cat VERSION)
|
|
grep -q "^KIT_VERSION=\"$v\"" scripts/3x-ui.sh
|
|
grep -q "^KIT_VERSION=\"$v\"" scripts/hysteria2.sh
|
|
grep -q "^KIT_VERSION=\"$v\"" scripts/kit.sh
|