test
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
name: Golang lint
|
||||
run-name: Linting code in ${{ gitea.repository }} by ${{ gitea.actor }} 🚀
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
GoLint:
|
||||
runs-on: linux-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: "1.26"
|
||||
|
||||
- name: Run golangci-lint
|
||||
uses: golangci/golangci-lint-action@v9
|
||||
with:
|
||||
version: v2.11
|
||||
|
||||
Reference in New Issue
Block a user