Retour au cours

CI/CD pour Go avec GitHub Actions

Go (Golang) pour les microservices cloud-native

Automatiser tout

Votre code doit être testé et construit automatiquement à chaque push.

workflow.yml :

yaml

  • name: Run Tests run: go test -v ./...
  • name: Build binary run: go build -o main .

Cela garantit qu'aucun code cassé n'atteigne jamais la production.