mirror of
https://github.com/acepanel/panel.git
synced 2026-02-05 00:39:32 +08:00
27 lines
532 B
YAML
27 lines
532 B
YAML
name: Lint
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
lint:
|
|
name: lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v4
|
|
with:
|
|
go-version: 'stable'
|
|
cache: false
|
|
- name: Lint
|
|
uses: golangci/golangci-lint-action@v3
|
|
with:
|
|
skip-cache: true
|
|
skip-pkg-cache: true
|
|
skip-build-cache: true
|
|
version: latest
|
|
args: --timeout=30m ./...
|