build(deps): Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (#… #7634
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: pre-commit | |
on: | |
pull_request: | |
push: | |
branches: | |
- main* | |
jobs: | |
pre-commit: | |
runs-on: charon-ci | |
env: | |
SKIP: golangci-lint,run-go-tests,no-commit-to-branch | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # Disable shallow checkout | |
- uses: actions/setup-python@v2 | |
- uses: ./.github/actions/setup-go | |
- uses: pre-commit/[email protected] | |
- 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] |