Skip to content

Commit

Permalink
ci: revert to classic golangci-lint action (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
lammel committed Jul 18, 2023
1 parent d980818 commit ce71155
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
name: Code analysis
name: Code Analysis

on: [pull_request]
on: [ push, pull_request ]

jobs:
golangci-lint:
lint:
if: "!contains(github.event.head_commit.message, 'autoupdate')"
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
fetch-depth: 0
- name: Linting with golangci-lint
uses: reviewdog/action-golangci-lint@v2
go-version: 'stable'

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
github_token: ${{ secrets.ACCESS_TOKEN }}
reporter: github-pr-review
version: latest

0 comments on commit ce71155

Please sign in to comment.