Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

add distinct api method to set ExpireAt #24

add distinct api method to set ExpireAt

add distinct api method to set ExpireAt #24

Workflow file for this run

name: Golang
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Go 1.19
uses: actions/setup-go@v4
with:
go-version: '1.19'
- name: Download dependencies
run: cd backend && go get .
- name: Audit code
run: |
cd backend
go vet ./...
go run honnef.co/go/tools/cmd/staticcheck@latest -checks=all,-ST1000,-U1000 ./...
go test -race -vet=off ./...
go mod verify
- name: Build
run: |
cd backend
CGO_ENABLED=0 GOOS=linux go build -v