Files
getpsrc/.gitea/workflows/golang-linters.yaml
CSRBot 16430013e6
Some checks failed
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Failing after 2s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Failing after 2s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Failing after 2s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (pull_request) Failing after 2s
Lint Markdown files / Run markdown linter (pull_request) Failing after 2s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Failing after 5s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Failing after 4s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Failing after 4s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Failing after 3s
chore(deps): update actions/checkout action to v5
2025-08-12 10:18:17 +00:00

30 lines
687 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@v5.0.0
- uses: actions/setup-go@v5.5.0
with:
go-version: ${{ matrix.go }}
- uses: golangci/golangci-lint-action@v8.0.0
with:
version: v2.3.1 # renovate: datasource=github-releases depName=golangci/golangci-lint