Skip to content

Update module github.com/go-playground/validator/v10 to v10.20.0 #66

Update module github.com/go-playground/validator/v10 to v10.20.0

Update module github.com/go-playground/validator/v10 to v10.20.0 #66

Workflow file for this run

name: Unit Test
on:
push:
branches:
- release
- master
tags:
- v**
pull_request:
types:
- opened
- edited
- reopened
- synchronize
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.4
- name: Set up Golang
uses: actions/setup-go@v5.0.0
with:
go-version: 1.22
cache: true
- name: Execute Unit Tests
run: go test -coverprofile coverage.out ./... && go tool cover -func coverage.out -o coverage.txt && go tool cover -html=coverage.out -o coverage.html
env:
IS_CICD: true
- name: Upload Test Results
uses: actions/upload-artifact@v4
with:
name: test-results
path: coverage.html