Merge pull request #148 from roadrunner-server/dependabot/github_acti… #258
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linters | |
on: | |
push: | |
branches: | |
- master | |
- beta | |
- stable | |
tags-ignore: | |
- "**" | |
paths-ignore: | |
- "**.md" | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
jobs: | |
golangci-lint: | |
name: Golang-CI (lint) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 'stable' | |
- name: Run linter | |
uses: golangci/[email protected] # Action page: <https://github.com/golangci/golangci-lint-action> | |
with: | |
version: v1.54 # without patch version | |
only-new-issues: false # show only new issues if it's a pull request |