build(deps): Bump github.com/multiformats/go-multiaddr from 0.13.0 to… #7808
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: golangci-lint | |
on: | |
pull_request: | |
push: | |
branches: | |
- main* | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
golangci: | |
runs-on: charon-ci | |
steps: | |
# Config options can be found in README here: https://github.com/golangci/golangci-lint-action | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup-go | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.61.0 | |
- 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/action-discord@0.3.2 |