mirror of
https://github.com//cppla/ServerStatus
synced 2026-08-06 10:23:57 +08:00
fix CI after removing telegram plugin
This commit is contained in:
@@ -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: |
|
||||||
|
|||||||
Reference in New Issue
Block a user