From dec081dc87e5f2dc8f466ac80da26c4c1526d148 Mon Sep 17 00:00:00 2001 From: Romain Broussard Date: Tue, 23 Apr 2024 22:36:54 +0200 Subject: [PATCH] fix: Add missing env variables to run tests for release (#27) --- .github/workflows/doc-generation.yml | 2 +- .github/workflows/release.yml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/doc-generation.yml b/.github/workflows/doc-generation.yml index 5a479f8..213dfc1 100644 --- a/.github/workflows/doc-generation.yml +++ b/.github/workflows/doc-generation.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '1.22' - name: Install Swaggo run: go install github.com/swaggo/swag/cmd/swag@latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 98072c1..4fd8403 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,6 +49,10 @@ jobs: DB_PORT: 5432 API_SECRET: myawsomeapisecret TOKEN_HOUR_LIFESPAN: 1 + MAIL_IDENTITY: "test@exemple.com" + MAIL_USERNAME: "test_user" + MAIL_PASSWORD: "test_password" + MAIL_SERVER: "smtp.exemple.com" run: make test - name: Login to GitHub Container Registry