Files
db-wait/.gitea/workflows/golang-linters.yaml
T
CSRBot f3a741c6a2
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 26s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 7s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Successful in 12s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (pull_request) Successful in 7s
Lint Markdown files / Run markdown linter (pull_request) Successful in 4s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 1m5s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 23s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Successful in 31s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Successful in 21s
chore(deps): update actions/checkout action to v6.0.3
2026-06-02 15:07:40 +00:00

30 lines
688 B
YAML

name: "Lint Golang files"
on:
pull_request:
types: [ "opened", "reopened", "synchronize" ]
push:
branches: [ '**' ]
tags-ignore: [ '**' ]
workflow_dispatch: {}
permissions:
contents: read
jobs:
golangci:
name: "Run golang CI linter"
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: [ stable ]
os: [ ubuntu-latest-amd64, ubuntu-latest-arm64 ]
steps:
- uses: actions/checkout@v6.0.3
- uses: actions/setup-go@v6.4.0
with:
go-version: ${{ matrix.go }}
- uses: golangci/golangci-lint-action@v9.2.1
with:
version: v2.12.2 # renovate: datasource=github-releases depName=golangci/golangci-lint