Skip to content

Commit

Permalink
Merge branch 'master' into feature/interactive-text-input-onexit
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinJWendt committed Jul 1, 2023
2 parents e2218f0 + 9279c3e commit fbe253b
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
name: Code analysis
name: Code Analysis

on: [pull_request]

env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.ACCESS_TOKEN }}
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
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.ACCESS_TOKEN }}
version: latest

0 comments on commit fbe253b

Please sign in to comment.