Skip to content

Commit

Permalink
Merge pull request #532 from pterm/531-migrate-to-classic-golangci-li…
Browse files Browse the repository at this point in the history
…nt-action
  • Loading branch information
MarvinJWendt committed Jul 1, 2023
2 parents cb640a9 + a4fbf19 commit 9279c3e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/golangci.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Code Analysis

on: [ push, pull_request ]

jobs:
lint:
if: "!contains(github.event.head_commit.message, 'autoupdate')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 'stable'

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest

0 comments on commit 9279c3e

Please sign in to comment.