Skip to content

feat(deps): bump github.com/go-playground/validator/v10 from 10.16.0 to 10.22.0 #732

feat(deps): bump github.com/go-playground/validator/v10 from 10.16.0 to 10.22.0

feat(deps): bump github.com/go-playground/validator/v10 from 10.16.0 to 10.22.0 #732

Workflow file for this run

# Copyright (c) 2022 Gemba Advantage
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# in the Software without restriction, including without limitation the rights
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
name: ci
on:
push:
branches:
- main
paths:
- "**/*.go"
- "*.go"
- "go.mod"
- "go.sum"
pull_request:
paths:
- "**/*.go"
- "*.go"
- "go.mod"
- "go.sum"
jobs:
ci:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Set Git Line Endings
run: |
git config --global core.autocrlf false
git config --global core.eol lf
if: matrix.os == 'windows-latest'
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22.3"
cache: true
- name: Install Task
uses: arduino/setup-task@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Test
run: task test
- name: Build
run: task build
- name: Install golangci-lint
if: matrix.os == 'ubuntu-latest'
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
- name: Lint Code
if: matrix.os == 'ubuntu-latest'
run: task lint
- name: Code Coverage
if: matrix.os == 'ubuntu-latest'
uses: codecov/codecov-action@v4