refactor: refactoring of code to meet all go lint requirements

This commit is contained in:
Jonas Kaninda committed 2024-12-06 16:25:16 +01:00
1 parent 2bcfd3aacf
commit 793b04340e
10 files changed
+141 -17

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
name: Lint
on:
push:
pull_request:
jobs:
lint:
name: Run on Ubuntu
runs-on: ubuntu-latest
steps:
- name: Clone the code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '~1.22'
- name: Run linter
uses: golangci/golangci-lint-action@v6
with:
version: v1.61