From b86315b60b2e923b19bcd8143e6cfdb15acb1ef8 Mon Sep 17 00:00:00 2001 From: Xor290 Date: Wed, 11 Mar 2026 21:07:11 +0100 Subject: [PATCH] chore: add security --- .github/workflows/backend-build.yml | 4 ++-- backend/gestion/services/geo_services.go | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/backend-build.yml b/.github/workflows/backend-build.yml index 693f9279..e2d0f818 100644 --- a/.github/workflows/backend-build.yml +++ b/.github/workflows/backend-build.yml @@ -4,11 +4,11 @@ on: push: branches: [main] paths: - - "backend/**" + - "backend/**/**" pull_request: branches: [main] paths: - - "backend/**" + - "backend/**/**" jobs: lint: diff --git a/backend/gestion/services/geo_services.go b/backend/gestion/services/geo_services.go index 15267028..742095a6 100644 --- a/backend/gestion/services/geo_services.go +++ b/backend/gestion/services/geo_services.go @@ -78,7 +78,6 @@ func NewGeoService(redisClient *redis.Client, ctx context.Context) *GeoService { // GÉOCODAGE - API NOMINATIM // ============================================ -// GeocodeAddress convertit une adresse en coordonnées GPS func (gs *GeoService) GeocodeAddress(address string) (*GeoLocation, error) { // 1. Vérifier le cache Redis location, err := gs.getFromCache(address)