Files
ProxmoxAAS-Dashboard/.gitea/workflows/go_stastic.yaml
T
alu 7f983853b0
ProxmoxAAS-Dashboard Go Static Analysis Check / lint-check (push) Failing after 4s
add static analysis action
2026-07-29 17:51:23 +00:00

31 lines
722 B
YAML

name: ProxmoxAAS-Dashboard Go Static Analysis Check
run-name: Go static analysis check on ${{ gitea.repository }} ${{ gitea.ref_name }} ${{ gitea.sha }}
on:
push:
branches:
- "*"
jobs:
lint-check:
runs-on: ubuntu-latest
steps:
- name: Check Out Repository
uses: actions/checkout@v4
- name: Initialize Runner
uses: actions/setup-go@v7
with:
go-version-file: 'go.mod'
- name: Initialize Go
run: go get .
- name: Run Go Vet
id: static_govet
if: always()
run: go vet ./...
- name: Verify Static Analysis
if: >
steps.static_govet.outcome != 'success'
run: exit 1