Skip to content

feat: expose QueryParam on api package #45

feat: expose QueryParam on api package

feat: expose QueryParam on api package #45

Workflow file for this run

name: Build & Test
on:
push:
branches-ignore:
- master
jobs:
build-test:
runs-on: ubuntu-latest
services:
redis:
image: redis
ports:
- 6379:6379
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.22.x
- name: Build and test
run: |
go mod tidy
go mod vendor
go vet ./...
go build ./...
go test -v ./... | sed ''/PASS/s//$(printf "\033[32mPASS\033[0m")/'' | sed ''/FAIL/s//$(printf "\033[31mFAIL\033[0m")/''
env:
GOOS: linux
GOARCH: amd64
GOFLAGS: -mod=vendor
CGO_ENABLED: 0