chore(deps): bump github.com/go-playground/validator/v10 from 10.14.1 to 10.24.0 #294
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ♾️ Compatibility Check | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
branches: | |
- dev | |
jobs: | |
check: | |
if: github.actor == 'dependabot[bot]' | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
permissions: | |
contents: write | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: projectdiscovery/actions/setup/git@v1 | |
- uses: projectdiscovery/actions/setup/go@v1 | |
- run: go mod download && go mod verify && go vet ./... | |
- name: Checks go.mod Integrity | |
run: | | |
git diff --exit-code go.mod >/dev/null || { | |
echo "::warning::go.mod is out of sync. Pushing changes to the branch." | |
git add go.{mod,sum} | |
git commit -m "chore(deps): go mod tidy" | |
git push origin $GITHUB_REF | |
} |