Skip to content

upfluence/action-golangci-lint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 

Repository files navigation

GitHub Action: Run linter onto Upfluence go project

Release new version

After pull request was approved and merged into master If code can work with old configuration, use same tag as before If your code include breaking change change label and inform all Upfluence team about your changes.

Add this acton to your go project

run command into your project directory

mkdir -p .github/workflows

Create file lint.yml

name: reviewdog
on: [pull_request]

jobs:
  linter:
    name: runner / golangci-lint
    runs-on: ubuntu-latest
    steps:
      - name: Check out code
        uses: actions/checkout@v1
      - name: golangci
        uses: upfluence/action-golangci-lint@master
        with:
          github_token: ${{ secrets.github_token }}