chore: update

This commit is contained in:
Nuxgrid
2026-07-27 17:41:48 +02:00
parent 6ff6333781
commit 1d5c92c5a4
2 changed files with 3 additions and 14 deletions
+2 -7
View File
@@ -8,11 +8,9 @@ on:
branches: [main] branches: [main]
paths: paths:
- "control-plane/api/**" - "control-plane/api/**"
- ".gitea/workflows/ci-api.yml"
pull_request: pull_request:
paths: paths:
- "control-plane/api/**" - "control-plane/api/**"
- ".gitea/workflows/ci-api.yml"
workflow_dispatch: {} workflow_dispatch: {}
jobs: jobs:
@@ -33,18 +31,15 @@ jobs:
- name: Vet - name: Vet
run: go vet ./... run: go vet ./...
continue-on-error: true
- name: Build - name: Build
run: go build ./... run: go build ./...
- name: Test - name: Test
run: go test ./... run: go test ./...
continue-on-error: true
publish:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: test
runs-on: ubuntu-latest
steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
+1 -7
View File
@@ -8,11 +8,9 @@ on:
branches: [main] branches: [main]
paths: paths:
- "web/**" - "web/**"
- ".gitea/workflows/ci-web.yml"
pull_request: pull_request:
paths: paths:
- "web/**" - "web/**"
- ".gitea/workflows/ci-web.yml"
workflow_dispatch: {} workflow_dispatch: {}
jobs: jobs:
@@ -40,15 +38,11 @@ jobs:
- name: Test - name: Test
run: npm test run: npm test
continue-on-error: true
- name: Build - name: Build
run: npm run build run: npm run build
publish:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: test
runs-on: ubuntu-latest
steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4