You've already forked top-wallpaper
28 lines
588 B
YAML
28 lines
588 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- "*"
|
|
|
|
name: 🚨 Lint Code Base
|
|
run-name: ${{ github.workflow }}-{{ github.ref_name }}-{{ github.run_number }}
|
|
|
|
jobs:
|
|
golangci-lint:
|
|
name: 🧹 golangci-lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: 📥 Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: 🛠️ Set up Go
|
|
uses: actions/setup-go@v4
|
|
with:
|
|
go-version: '1.24.6'
|
|
|
|
- name: 📦 📥 Install Dependencies
|
|
run: |
|
|
go mod download
|
|
|
|
- name: ✅ 🔍 Run Go Lint
|
|
uses: golangci/golangci-lint-action@v8.0.0
|