[Go Modules](deps): Bump github.com/go-playground/validator/v10 from 10.26.0 to 10.28.0 #145
This file contains hidden or 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: Verify & Release | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - edited | |
| - closed | |
| push: | |
| branches: | |
| - "*" | |
| tags: | |
| - "v[0-9]+.[0-9]+.[0-9]+" | |
| env: | |
| GOPROXY: https://proxy.golang.org | |
| permissions: | |
| contents: write | |
| packages: read | |
| statuses: write | |
| pull-requests: write | |
| jobs: | |
| verify_backend_quality: | |
| name: Verify Backend Code Quality | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: stable | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v7 | |
| with: | |
| version: latest | |
| - name: Install gosec | |
| run: go install github.com/securego/gosec/v2/cmd/gosec@latest | |
| - name: Run gosec | |
| run: gosec ./... | |
| # Add Golang Tests when they will be available | |
| verify_backend_functionality: | |
| name: Verify Backend Code Functionality | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: stable | |
| publish_release: | |
| if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') | |
| needs: | |
| - verify_backend_quality | |
| - verify_backend_functionality | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set version env | |
| run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | |
| - uses: release-drafter/release-drafter@v6 | |
| with: | |
| disable-autolabeler: true | |
| name: ${{ env.RELEASE_VERSION }} | |
| tag: ${{ env.RELEASE_VERSION }} | |
| version: ${{ env.RELEASE_VERSION }} | |
| publish: false | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |