mirror of
https://github.com/redis/go-redis.git
synced 2025-04-16 09:23:06 +03:00
28 lines
577 B
YAML
28 lines
577 B
YAML
name: golangci-lint
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- v*
|
|
branches:
|
|
- master
|
|
- main
|
|
- v9
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read
|
|
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
|
|
|
|
jobs:
|
|
golangci:
|
|
name: lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@v6.5.2
|
|
with:
|
|
verify: false # disable verifying the configuration since golangci is currently introducing breaking changes in the configuration
|
|
|