mirror of
https://github.com/Floriansylvain/RenewCMS.git
synced 2026-08-19 11:43:22 +02:00
tech: updated go version on action
This commit is contained in:
+22
-23
@@ -5,37 +5,36 @@ name: Go
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches: ["main"]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
environment: test
|
||||
env:
|
||||
ENVIRONMENT: ${{ secrets.ENVIRONMENT }}
|
||||
HOST: ${{ secrets.HOST }}
|
||||
PORT: ${{ secrets.PORT }}
|
||||
JWT_SECRET: ${{ secrets.JWT_SECRET }}
|
||||
CORS_ALLOWED_ORIGINS: ${{ secrets.CORS_ALLOWED_ORIGINS }}
|
||||
DB_FILE: ${{ secrets.DB_FILE }}
|
||||
DOCKER_DB_FOLDER: ${{ secrets.DOCKER_DB_FOLDER }}
|
||||
SMTP_EMAIL: ${{ secrets.SMTP_EMAIL }}
|
||||
SMTP_PASSWORD: ${{ secrets.SMTP_PASSWORD }}
|
||||
SMTP_HOST: ${{ secrets.SMTP_HOST }}
|
||||
SMTP_PORT: ${{ secrets.SMTP_PORT }}
|
||||
ENVIRONMENT: ${{ secrets.ENVIRONMENT }}
|
||||
HOST: ${{ secrets.HOST }}
|
||||
PORT: ${{ secrets.PORT }}
|
||||
JWT_SECRET: ${{ secrets.JWT_SECRET }}
|
||||
CORS_ALLOWED_ORIGINS: ${{ secrets.CORS_ALLOWED_ORIGINS }}
|
||||
DB_FILE: ${{ secrets.DB_FILE }}
|
||||
DOCKER_DB_FOLDER: ${{ secrets.DOCKER_DB_FOLDER }}
|
||||
SMTP_EMAIL: ${{ secrets.SMTP_EMAIL }}
|
||||
SMTP_PASSWORD: ${{ secrets.SMTP_PASSWORD }}
|
||||
SMTP_HOST: ${{ secrets.SMTP_HOST }}
|
||||
SMTP_PORT: ${{ secrets.SMTP_PORT }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.20'
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: "1.23.0"
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
||||
- name: Test
|
||||
run: go test -v ./...
|
||||
- name: Test
|
||||
run: go test -v ./...
|
||||
|
||||
Reference in New Issue
Block a user