chore: lint and add Justfile cmd for linting

This commit is contained in:
2025-07-14 02:07:53 +03:00
parent 28f7e9be9f
commit e5966fb24d
4 changed files with 9 additions and 5 deletions

View File

@@ -1,6 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>ivuorinen/renovate-config"
]
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>ivuorinen/renovate-config"]
}

View File

@@ -21,7 +21,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: 'go.mod'
go-version-file: "go.mod"
- name: Run Go Tests
shell: bash

1
.gitignore vendored
View File

@@ -25,3 +25,4 @@ logs
.DS_Store
bin/*
!bin/.gitkeep
megalinter-reports

View File

@@ -7,6 +7,11 @@ src := "./cmd/main.go"
default:
just build
# Lint with megalinter
lint:
echo "Linting..."
npx --yes mega-linter-runner
# Build the Go binary
build:
echo "Building {{app_name}}..."