Skip to content

refactor: simplify a table writer #49

refactor: simplify a table writer

refactor: simplify a table writer #49

Workflow file for this run

---
name: "Lint and test"
on:
push:
tags:
- v*
branches:
- master
pull_request:
jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
skip-cache: true
tests:
needs: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run test coverage
run: make coverage
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)