Skip to content

Commit

Permalink
Added Lint action to improve code quality
Browse files Browse the repository at this point in the history
  • Loading branch information
xBlaz3kx committed Jan 2, 2025
1 parent ed45ed6 commit 6b65e5e
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "Lint"

on:
push:
paths-ignore:
- '*.md'

pull_request:
types: [ opened, synchronize ]
paths-ignore:
- '*.md'
branches:
- master

jobs:
lint:
name: "Run linter"
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.16"

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

0 comments on commit 6b65e5e

Please sign in to comment.