chore: update

This commit is contained in:
Xor290
2026-08-08 18:27:27 +02:00
parent ef303951a3
commit 000ed75313
2 changed files with 9 additions and 9 deletions
+6 -5
View File
@@ -31,31 +31,32 @@ jobs:
- name: Vet
run: go vet ./...
continue-on-error: true
- name: Test
run: go test ./...
- name: Build
run: go build ./...
- name: Install & run gosec
working-directory: backend/gestion
continue-on-error: true
run: |
go install github.com/securego/gosec/v2/cmd/gosec@latest
gosec ./...
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build & push api
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: docker/build-push-action@v6
with:
context: ./control-plane/api
+3 -4
View File
@@ -38,24 +38,23 @@ jobs:
- name: Test
run: npm test
continue-on-error: true
- name: Build
run: npm run build
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build & push web
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: docker/build-push-action@v6
with:
context: ./web