Skip to content

handle field type change #268

handle field type change

handle field type change #268

Workflow file for this run

name: ci-server
on:
workflow_call:
push:
paths:
- 'server/**'
pull_request:
paths:
- 'server/**'
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./server
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Build
run: |
go mod tidy
go build -v ./...
- name: Lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.64.5
working-directory: ./server
- name: Unit test
run: |
go mod tidy
go test -v ./...