FILE / ScuroNeko/Laniakea

.gitea/workflows/go-lint.yaml

Исходный файл и его история в репозитории.
FILE 6595265cb3eca02ac08220cb1bf2edf2716627aa
Files
Laniakea/.gitea/workflows/go-lint.yaml
T
ScuroNeko 6595265cb3
Golang lint / lint (push) Successful in 3m34s
(ci/cd): added go test and gofmt
2026-04-30 14:02:15 +03:00

20 lines
362 B
YAML

name: Golang lint
run-name: Linting code
on: [push]
jobs:
lint:
runs-on: go-latest
steps:
- name: Checkout repository code
uses: actions/checkout@v6
- name: Verify formatting
run: test -z "$(gofmt -l .)"
- name: Run go test
run: go test ./...
- name: Run golangci-lint
run: golangci-lint run