Skip to content

Commit

Permalink
Add golangci-lint GitHub Action
Browse files Browse the repository at this point in the history
Add initial version of `golangci-lint` GitHub Action config.
  • Loading branch information
HeavyWombat committed Jan 18, 2022
1 parent ca82a59 commit a2d2031
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Code Linter

on:
push:
tags-ignore:
- '**'
branches:
- main
pull_request:
branches:
- main

permissions:
contents: read

jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: latest

0 comments on commit a2d2031

Please sign in to comment.