From d6e2ba5e265ca8a9d80e924a8274c8c775f7533a Mon Sep 17 00:00:00 2001 From: mlycore Date: Sat, 6 Jul 2024 15:27:58 +0800 Subject: [PATCH] fix: fix opengauss pitr golint path Signed-off-by: mlycore --- .github/workflows/pitr-golint.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pitr-golint.yml b/.github/workflows/pitr-golint.yml index 50550e32..6f4050b5 100644 --- a/.github/workflows/pitr-golint.yml +++ b/.github/workflows/pitr-golint.yml @@ -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: @@ -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 ./...