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

on: [ pull_request ]
name: Unittests
jobs:
test:
strategy:
matrix:
go-version: [ "1.22.x", "1.23.x" ]
os: [ ubuntu-latest ]
use_private_example_data_submodule: [ "true", "false" ]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code AND submodule
if: matrix.use_private_example_data_submodule == 'true'
uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_branch }}
token: ${{secrets.EXAMPLE_DATA_SUBMODULE_PAT}} # expires 2025-08-01
# https://github.com/Hochfrequenz/go-bo4e/settings/secrets/actions/EXAMPLE_DATA_SUBMODULE_PAT
# PAT has repo scope
submodules: "recursive"
- name: Checkout code without submodule
if: matrix.use_private_example_data_submodule == 'false'
uses: actions/checkout@v4
- name: Test
run: go test ./...