FILE / ScuroNeko/est

.gitea/workflows/lint.yml

Исходный файл и его история в репозитории.
FILE 80278ee801e08850a160098d4bcfe5d767183144
Files
est/.gitea/workflows/lint.yml
T
ScuroNeko bb2fa57bbe
Golang lint / docker-smoke (push) Successful in 17s
Golang lint / lint (push) Failing after 18s
v1.0.0
2026-08-06 12:22:44 +03:00

38 lines
808 B
YAML

name: Golang lint
run-name: Linting code
on: [push, pull_request]
jobs:
lint:
runs-on: go-latest
steps:
- name: Checkout repository code
uses: actions/checkout@v6
- name: Verify formatting
run: |
files="$(gofmt -l .)"
if [ -n "$files" ]; then
echo "These files are not gofmt-formatted:"
echo "$files"
exit 1
fi
- name: Run go test
run: go test ./...
- name: Run go vet
run: go vet ./...
- name: Run golangci-lint
run: golangci-lint run
docker-smoke:
runs-on: docker-latest
steps:
- name: Checkout repository code
uses: actions/checkout@v6
- name: Build image and verify SSH client
run: ./scripts/docker-smoke-test.sh