Skip to content

build(prysm): update default build method to go (forces bazel for minimal) #449

build(prysm): update default build method to go (forces bazel for minimal)

build(prysm): update default build method to go (forces bazel for minimal) #449

Workflow file for this run

name: Vet
on:
pull_request:
branches:
- master
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: schema validate
uses: nrkno/yaml-schema-validator-github-action@v4
with:
schema: schema.yaml
target: config.yaml
duplicates:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: mikefarah/[email protected]
- name: duplicate repository tag check
run: |
OUTPUT=$(yq 'group_by(.target.repository + ":" + .target.tag) | map(select(length>1))' config.yaml)
if [ "$OUTPUT" != "[]" ]; then
echo "Duplicate tag found in config.yaml"
echo $OUTPUT
exit 1
fi
notify:
name: Discord Notification
runs-on: ubuntu-latest
needs:
- validate
- duplicates
if: failure()
steps:
- name: Notify
uses: nobrayner/discord-webhook@v1
with:
github-token: ${{ secrets.github_token }}
discord-webhook: ${{ secrets.DISCORD_WEBHOOK }}