This repository has been archived by the owner on Jan 2, 2025. It is now read-only.
Fix missing reference materials on sites #527
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: Lint Go | |
on: | |
pull_request: | |
paths: | |
- ".github/workflows/lint-go.yml" | |
- "backend/**/*.go" | |
branches-ignore: | |
- "renovate/**" | |
# Based on https://github.com/golangci/golangci-lint-action readme. | |
permissions: | |
contents: read | |
pull-requests: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint-go: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: "1.20" | |
- uses: actions/checkout@v3 | |
- uses: golangci/golangci-lint-action@v3 | |
with: | |
version: latest | |
only-new-issues: true | |
args: --timeout=5m |