Skip to content

feat: add new workflows #1

feat: add new workflows

feat: add new workflows #1

Workflow file for this run

name: golangci-lint
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
lint:
name: 🔍 Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true
- name: Install Dependencies
run: go mod download
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60
- name: Add Job Summary
run: |
echo "### 🔍 Lint Results" >> $GITHUB_STEP_SUMMARY
echo "- ✅ Code linting completed successfully" >> $GITHUB_STEP_SUMMARY