Skip to content

Bump go.uber.org/zap from 1.26.0 to 1.27.0 #175

Bump go.uber.org/zap from 1.26.0 to 1.27.0

Bump go.uber.org/zap from 1.26.0 to 1.27.0 #175

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
check-latest: true
- name: Install Task
run: go install github.com/go-task/task/v3/cmd/task@latest
- name: Install mockgen
run: go install github.com/golang/mock/mockgen@latest
- name: Generate mocks
run: go generate ./pkg/... ./internal/...
- name: Run Unit tests
run: go test -race -covermode atomic -coverprofile=covprofile ./...
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: covprofile
force-coverage-parser: go