new(rules): Decoding Payload in Container #152
Workflow file for this run
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: Registry | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Rules | |
uses: actions/checkout@v3 | |
- name: Setup Golang | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '^1.19' | |
- name: Build registry artifact tool | |
working-directory: build/registry | |
run: go build -o rules-registry ./... | |
- name: Test registry artifact tool | |
working-directory: build/registry | |
run: go test ./... -cover | |
- name: Check Registry validity | |
run: build/registry/rules-registry check registry.yaml |