Skip to content

Refactor lint github action action. #36

Refactor lint github action action.

Refactor lint github action action. #36

name: Run golangci-lint on compass-runtime-agent
permissions:
contents: read
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'