Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
m00g3n committed Feb 20, 2024
1 parent 424b851 commit 99da865
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/lint-compass-runtime-agent.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: Run golangci-lint on compass-runtime-agent

env:
GO_VERSION: '1.21'
LINTER_VERSION: v1.56.2
LINTER_WORKING_DIRECTORY: 'components/compass-runtime-agent'

on:
push:
paths:
- '$LINTER_WORKING_DIRECTORY/**'
- 'components/compass-runtime-agent/**'
branches: [ "main" ]
pull_request:
paths:
- '$LINTER_WORKING_DIRECTORY/**'
- 'components/compass-runtime-agent/**'

jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- name: lint
uses:
- .github/workflows/lint-template/template/golangci-lint
with:
GO_VERSION: '1.21'
LINTER_VERSION: v1.56.2
LINTER_WORKING_DIRECTORY: 'components/compass-runtime-agent'

uses: "./.github/workflows/template/golangci-lint"
1 change: 1 addition & 0 deletions components/compass-runtime-agent/internal/kyma/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"github.com/kyma-project/kyma/components/compass-runtime-agent/internal/apperrors"
)


func newResult(application v1alpha1.Application, applicationID string, operation Operation, appError apperrors.AppError) Result {
return Result{
ApplicationName: application.Name,
Expand Down

0 comments on commit 99da865

Please sign in to comment.