fix: create empty snippet folder for 6.6.3.0 to not crash the admin #624
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: golangci-lint | |
on: | |
workflow_dispatch: | |
push: | |
tags-ignore: | |
- "*" | |
branches: | |
- main | |
- fix-lint-hints | |
paths: | |
- '*.go' | |
- '**/*.go' | |
- '.github/workflows/lint.yml' | |
pull_request: | |
paths: | |
- '*.go' | |
- '**/*.go' | |
- '.github/workflows/lint.yml' | |
permissions: | |
contents: read | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.22" | |
check-latest: true | |
cache: true | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: latest | |
args: --timeout 4m |