Skip to content

Bump github.com/go-playground/validator/v10 from 10.22.0 to 10.22.1 #1237

Bump github.com/go-playground/validator/v10 from 10.22.0 to 10.22.1

Bump github.com/go-playground/validator/v10 from 10.22.0 to 10.22.1 #1237

Workflow file for this run

name: coverage
on:
pull_request:
jobs:
coverage:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: ["1.23.x"] # the coverage measurement is enough in 1 version, no need for all
os: [ubuntu-latest]
steps:
- name: Install Go
if: success()
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout Code
uses: actions/checkout@v4
- name: Calc coverage
run: go test ./bo ./com -v -covermode=count -coverprofile=coverage.out
- name: Convert coverage to lcov
uses: jandelgado/gcov2lcov-action@v1.0.9
- name: Enforce Min Coverage
uses: VeryGoodOpenSource/very_good_coverage@v3.0.0
with:
path: "coverage.lcov"
min_coverage: 80 # the plan is to increase this with time