Skip to content

feat: Add support to disable stringer #195

feat: Add support to disable stringer

feat: Add support to disable stringer #195

Workflow file for this run

name: Go Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "stable"
- name: Install dependencies
run: go mod tidy
- name: Run tests
run: go test ./... -v
- name: golangci-lint
uses: golangci/golangci-lint-action@v7
with:
version: v2.1
args: --issues-exit-code=1 --timeout 5m
only-new-issues: false
- name: Run tests with coverage
run: go test -coverprofile=coverage.txt
- name: Upload results to Codecov
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}