Skip to content

fix(deps): update module gorm.io/gorm to v1.25.11 (#16) #49

fix(deps): update module gorm.io/gorm to v1.25.11 (#16)

fix(deps): update module gorm.io/gorm to v1.25.11 (#16) #49

Workflow file for this run

name: Lint and Build
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
lint:
name: GolangCi-Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
cache: false
- name: GolangCi-Lint
uses: golangci/golangci-lint-action@v6.1.0
with:
version: v1.59.1
args: --timeout=5m
test:
name: Test
runs-on: ubuntu-latest
needs: [lint]
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: Test
run: go test -v ./...
build:
name: Build
runs-on: ubuntu-latest
needs: [lint, test]
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: Build
run: go build -v ./...