Skip to content

WIP Sites 2.0

WIP Sites 2.0 #511

Workflow file for this run

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