Skip to content

Commit

Permalink
fix: fix opengauss pitr golint path
Browse files Browse the repository at this point in the history
Signed-off-by: mlycore <[email protected]>
  • Loading branch information
mlycore committed Jul 6, 2024
1 parent d980396 commit d6e2ba5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pitr-golint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ on:
branches:
- main
paths:
- 'solutions/pitr/**'
- 'solutions/opengauss/pitr/**'
- '.github/workflows/pitr-golint.yml'
- 'solutions/pitr/agent/.golangci-lint.yml'
- 'solutions/pitr/cli/.golangci-lint.yml'
- 'solutions/opengauss/pitr/agent/.golangci-lint.yml'
- 'solutions/opengauss/pitr/cli/.golangci-lint.yml'

jobs:
changes:
Expand All @@ -51,9 +51,9 @@ jobs:
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.49.0
- name: Lint Pitr Cli
run: |
cd solutions/pitr/cli
cd solutions/opengauss/pitr/cli
$(go env GOPATH)/bin/golangci-lint run -v --timeout 300s ./...
- name: Lint Pitr Agent
run: |
cd solutions/pitr/agent
cd solutions/opengauss/pitr/agent
$(go env GOPATH)/bin/golangci-lint run -v --timeout 300s ./...

0 comments on commit d6e2ba5

Please sign in to comment.