redis/.github/workflows/golangci-lint.yml

27 lines
497 B
YAML
Raw Normal View History

2021-03-23 11:28:25 +03:00
name: golangci-lint
on:
push:
tags:
- v*
branches:
- master
- main
- v9
2021-03-23 11:28:25 +03:00
pull_request:
permissions:
contents: read
2021-03-23 11:28:25 +03:00
jobs:
golangci:
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:
- uses: actions/checkout@v4
2021-03-23 11:28:25 +03:00
- name: golangci-lint
uses: golangci/golangci-lint-action@v6