From fdeef5793b9bdaa65372272f8cd60de1450fa0e1 Mon Sep 17 00:00:00 2001 From: vchinda Date: Wed, 10 Jul 2024 14:33:06 +0530 Subject: [PATCH] Revert "added lint" This reverts commit 0025dd036210a3a82e07cfef605be740b7f70b8f. Signed-off-by: GW Cloud Common Services --- .github/workflows/go.yaml | 34 +++++++++++++++++----------------- pkg/backup/sls/producer.go | 2 +- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index d1591db..b23ab13 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -18,24 +18,24 @@ env: jobs: - # detect-noop: - # runs-on: ubuntu-20.04 - # outputs: - # noop: ${{ steps.noop.outputs.should_skip }} - # steps: - # - name: Detect No-op Changes - # id: noop - # uses: fkirc/skip-duplicate-actions@v5.3.0 - # with: - # # github_token: ${{ secrets.GITHUB_TOKEN }} - # paths_ignore: '["**.md", "**.mdx", "**.png", "**.jpg"]' - # do_not_skip: '["workflow_dispatch", "schedule", "push"]' - # concurrent_skipping: false + detect-noop: + runs-on: ubuntu-20.04 + outputs: + noop: ${{ steps.noop.outputs.should_skip }} + steps: + - name: Detect No-op Changes + id: noop + uses: fkirc/skip-duplicate-actions@v5.3.0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + paths_ignore: '["**.md", "**.mdx", "**.png", "**.jpg"]' + do_not_skip: '["workflow_dispatch", "schedule", "push"]' + concurrent_skipping: false staticcheck: runs-on: ubuntu-20.04 - # needs: detect-noop - # if: needs.detect-noop.outputs.noop != 'true' + needs: detect-noop + if: needs.detect-noop.outputs.noop != 'true' steps: - name: Setup Go @@ -63,8 +63,8 @@ jobs: lint: runs-on: ubuntu-20.04 - # needs: detect-noop - # if: needs.detect-noop.outputs.noop != 'true' + needs: detect-noop + if: needs.detect-noop.outputs.noop != 'true' steps: - name: Setup Go diff --git a/pkg/backup/sls/producer.go b/pkg/backup/sls/producer.go index 6b676b0..a170617 100644 --- a/pkg/backup/sls/producer.go +++ b/pkg/backup/sls/producer.go @@ -51,7 +51,7 @@ func (callback *Callback) Fail(result *producer.Result) { } // Success is success callback -func (callback *Callback) Success(result *producer.Result) { //nolint:revive,unused,govet,golint +func (callback *Callback) Success(result *producer.Result) { //nolint:golint,unused } // Store is store workflowRun to sls