fix CI after removing telegram plugin

This commit is contained in:
cppla
2026-07-10 17:07:23 +08:00
parent 2e13110c3b
commit 1483f9063a
+3 -4
View File
@@ -8,7 +8,7 @@ jobs:
validate: validate:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v5
- uses: actions/setup-go@v6 - uses: actions/setup-go@v6
with: with:
@@ -23,9 +23,9 @@ jobs:
go test -race ./... go test -race ./...
CGO_ENABLED=0 go build -trimpath -o /tmp/serverstatus . CGO_ENABLED=0 go build -trimpath -o /tmp/serverstatus .
- name: Check clients, plugins, WebUI and shell scripts - name: Check clients, WebUI and shell scripts
run: | run: |
python3 -m py_compile clients/client-linux.py clients/client-psutil.py plugin/bot-telegram.py python3 -m py_compile clients/client-linux.py clients/client-psutil.py
sh -n clients/entrypoint.sh sh -n clients/entrypoint.sh
bash -n status.sh bash -n status.sh
node --check web/js/app.js node --check web/js/app.js
@@ -34,7 +34,6 @@ jobs:
run: | run: |
docker compose -f docker-compose-server.yml config docker compose -f docker-compose-server.yml config
docker compose -f docker-compose-client.yml config docker compose -f docker-compose-client.yml config
TG_CHAT_ID=test TG_BOT_TOKEN=test ADMIN_TOKEN=test docker compose -f plugin/docker-compose-telegram.yml config
- name: Build Docker images - name: Build Docker images
run: | run: |