Skip to content

Include undo and apply functional options pattern for setting logger #71

Include undo and apply functional options pattern for setting logger

Include undo and apply functional options pattern for setting logger #71

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Build
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22"
- name: Build
run: go build -v ./...
- name: Test
run: make cover
- name: Upload code coverage
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
files: ./cover.html
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60