FILE / ScuroNeko/gitea-runner-test

.gitea/workflows/go.yaml

Исходный файл и его история в репозитории.
FILE d9ffe5d80d6fa3e664a7559ecf2deaac5b2abab7
Files
gitea-runner-test/.gitea/workflows/go.yaml
T
ScuroNeko c2e012f0c0
Golang lint / GoLint (push) Successful in 27s
Build and push image / docker (push) Failing after 29s
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
test
2026-04-23 13:42:01 +03:00

25 lines
550 B
YAML

name: Golang lint
run-name: Linting code in ${{ gitea.repository }} by ${{ gitea.actor }} 🚀
on: [push]
jobs:
GoLint:
runs-on: linux-latest
steps:
- name: Check out repository code
uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: "1.26"
cache: true
cache-dependency-path: |
go.sum
go.mod
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: v2.11