Skip to content

feat: create server instance using constructor, use interface-based logger #104

feat: create server instance using constructor, use interface-based logger

feat: create server instance using constructor, use interface-based logger #104

Workflow file for this run

on: pull_request
jobs:
arrange:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- run: go install github.com/jdeflander/[email protected]
working-directory: ${{ runner.temp }}
- run: test -z "$(goarrange run -r -d)"
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: golangci/golangci-lint-action@v4
with:
version: v1.56.2
args: -E misspell,godot,whitespace
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- run: go test -v ./...
tidy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- run: go mod tidy
- run: git diff --quiet go.mod go.sum