CVE-2021-25749, CVE-2023-3676, CVE-2023-3955, CVE-2024-3177 (#21) #78
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
# This workflow will validate the CVE yaml files. | |
name: CVE YAML Validation | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ^1.18 | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Format Go code | |
run: | | |
go fmt ./... | |
if ! git diff --exit-code HEAD; then | |
echo | |
echo "*** Files are not formatted properly. See the above diff for more info." | |
exit 1 | |
fi | |
- name: Validate CVEs | |
run: go run -v ./validation |