Skip to content
name: Run golangci-lint on compass-runtime-agent
on:
push:
paths:
- 'components/compass-runtime-agent/**'
branches: [ "main" ]
pull_request:
paths:
- 'components/compass-runtime-agent/**'
jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/template/golangci-lint
with:
GO_VERSION: '1.21'
LINTER_VERSION: v1.56.2
LINTER_WORKING_DIRECTORY: 'components/compass-runtime-agent'