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