Skip to content

fix: tests

fix: tests #12

Workflow file for this run

name: Run Tests
on: ["push", "pull_request"]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- name: format
run: go fmt
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- name: test
env:
GIN_MODE: release
run: go test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- name: golangci-lint
uses: golangci/golangci-lint-action@v6