Skip to content

Bump gorm.io/gorm from 1.25.1 to 1.25.7 #56

Bump gorm.io/gorm from 1.25.1 to 1.25.7

Bump gorm.io/gorm from 1.25.1 to 1.25.7 #56

Workflow file for this run

name: Go test workflow
on: [push]
#
env:
APP_ENV: runner
# Setting an environment variable with the value of a configuration variable
KEYCLOAK_REALM: ${{ secrets.KEYCLOAK_REALM }}
# Setting an environment variable with the value of a configuration variable
KEYCLOAK_SERVER: ${{ secrets.KEYCLOAK_SERVER }}
# Setting an environment variable with the value of a configuration variable
KEYCLOAK_CLIENT_ID: ${{ secrets.KEYCLOAK_CLIENT_ID }}
# Setting an environment variable with the value of a configuration variable
KEYCLOAK_CLIENT_SECRET: ${{ secrets.KEYCLOAK_CLIENT_SECRET }}
#
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.18.x', '1.19.x', '1.20.x', '1.21.x' ]
#
steps:
- uses: actions/checkout@v3
#
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
cache: true
#
# You can test your matrix by printing the current Go version
- name: Display Go version
run: go version
#
- name: Install dependencies
run: go mod tidy
#
- name: Build
run: go build -v ./...
#
- name: Test with the Go CLI
run: go test -v ./...
#
#
#