fix(backup): fixed api handlers for creating backup policy #699
Workflow file for this run
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: | |
pull_request: | |
branches: | |
- master | |
- "*_release" | |
paths: | |
- "**/*.go" | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "1.22" | |
check-latest: true | |
cache: true | |
- name: generate bindata | |
run: make dashboard-bindata-gen dashboard-doc-gen cli-bindata-gen | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.54 | |
args: --verbose --timeout=10m --max-same-issues=30 | |
only-new-issues: true | |
skip-cache: true |