Skip to content

testutil/validatormock: supporting universal proposal #6834

testutil/validatormock: supporting universal proposal

testutil/validatormock: supporting universal proposal #6834

Workflow file for this run

name: golangci-lint
on:
pull_request:
push:
branches:
- main*
permissions:
contents: read
pull-requests: read
jobs:
golangci:
runs-on: ubuntu-latest
steps:
# Config options can be found in README here: https://github.com/golangci/golangci-lint-action
- uses: actions/setup-go@v4
with:
go-version: '1.21.5'
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54.2
- name: notify failure
if: failure() && github.ref == 'refs/heads/main'
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
DISCORD_USERNAME: GitHub
DISCORD_AVATAR: https://avatars.githubusercontent.com/u/583231
DISCORD_EMBEDS: |
[{
"title": "🚨 Main branch workflow failed: ${{ github.workflow }}",
"url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}",
"color": 10038562
}]
uses: Ilshidur/[email protected]