drawio-export/.gitea/workflows/golangci-lint.yaml

23 lines
522 B
YAML
Raw Normal View History

name: golangci-lint
on: push
jobs:
lint:
strategy:
matrix:
go: [stable]
os: [ubuntu-latest, windows-latest]
name: lint
runs-on: ${{ matrix.os }}
steps:
- name: check-out
uses: https://gitea.com/actions/checkout@v4
- name: set-up go
2024-10-17 23:33:04 +07:00
uses: https://gitea.com/actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: lint
uses: https://github.com/golangci/golangci-lint-action@v6
with:
version: v1.60