Fix 500 for conflicts when downstreaming a file from NextCloud (#4498) #1357
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: Lint go | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '.golangci.yaml' | |
- 'Makefile' | |
- '**.go' | |
pull_request: | |
paths: | |
- '.golangci.yaml' | |
- 'Makefile' | |
- '**.go' | |
permissions: | |
contents: read | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.23.x" | |
- uses: actions/checkout@v4 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v5 | |
with: | |
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version | |
version: latest |