2021-03-23 11:28:25 +03:00
|
|
|
name: golangci-lint
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- v*
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- main
|
2021-05-19 12:43:31 +03:00
|
|
|
- v9
|
2021-03-23 11:28:25 +03:00
|
|
|
pull_request:
|
|
|
|
|
2022-04-20 18:48:57 +03:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2021-03-23 11:28:25 +03:00
|
|
|
jobs:
|
|
|
|
golangci:
|
2022-04-20 18:48:57 +03:00
|
|
|
permissions:
|
|
|
|
contents: read # for actions/checkout to fetch code
|
|
|
|
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
|
2021-03-23 11:28:25 +03:00
|
|
|
name: lint
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-09-20 10:41:10 +03:00
|
|
|
- uses: actions/checkout@v4
|
2021-03-23 11:28:25 +03:00
|
|
|
- name: golangci-lint
|
2024-07-13 20:30:07 +03:00
|
|
|
uses: golangci/golangci-lint-action@v6
|