Skip to content

2025 01 25 Project cleanup #2

2025 01 25 Project cleanup

2025 01 25 Project cleanup #2

Workflow file for this run

name: Code QA and validation
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
code-qa:
steps:

Check failure on line 13 in .github/workflows/validate.yml

View workflow run for this annotation

GitHub Actions / Code QA and validation

Invalid workflow file

The workflow is not valid. .github/workflows/validate.yml (Line: 13, Col: 5): Required property is missing: runs-on
- uses: actions/checkout@v3
- name: Set up Go + testing tools
uses: actions/setup-go@v4
with:
go-version: "1.23"
- name: Staticcheck
run: |
go install honnef.co/go/tools/cmd/[email protected]
staticcheck ./...
- name: Gofumpt
run: |
go install mvdan.cc/[email protected]
output=$(gofumpt -l .)
if [ ! -z "$output" ]; then echo "$output" && exit 1; fi
shell: bash
- name: Vulnerabilities
run: |
go install golang.org/x/vuln/cmd/govulncheck@latest
govulncheck ./...
- name: Vet
run: |
go vet ./...