diff --git a/.github/workflows/golangci-lint-pr.yml b/.github/workflows/golangci-lint-pr.yml deleted file mode 100644 index e4486aa01b1..00000000000 --- a/.github/workflows/golangci-lint-pr.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: golangci-lint-pr -on: - pull_request: - branches: - - master - - main - -permissions: - contents: read - # Optional: allow read access to pull request. Use with `only-new-issues` option. - pull-requests: read - -jobs: - golangci: - name: lint - runs-on: ubuntu-latest - steps: - - uses: actions/setup-go@v3 - with: - go-version: '1.22' - - uses: actions/checkout@v4 - - name: golangci-lint - uses: golangci/golangci-lint-action@v4 - with: - # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version - version: v1.59.1 - - # Optional: working directory, useful for monorepos - # working-directory: somedir - - # Optional: golangci-lint command line arguments. - # args: --issues-exit-code=0 - - # Optional: show only new issues if it's a pull request. The default value is `false`. - only-new-issues: true - - # Optional: if set to true then the all caching functionality will be complete disabled, - # takes precedence over all other caching options. - # skip-cache: true - - # Optional: if set to true then the action don't cache or restore ~/go/pkg. - # skip-pkg-cache: true - - # Optional: if set to true then the action don't cache or restore ~/.cache/go-build. - # skip-build-cache: true diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 75b03ffff9d..c6c8df9c94f 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -4,6 +4,10 @@ on: branches: - master - main + pull_request: + branches: + - master + - main permissions: contents: read diff --git a/pkg/proto/nbcontract/v1/const.go b/pkg/proto/nbcontract/v1/const.go index 11de1cf23c8..95227c7482b 100644 --- a/pkg/proto/nbcontract/v1/const.go +++ b/pkg/proto/nbcontract/v1/const.go @@ -1,7 +1,6 @@ package nbcontractv1 const ( - // Follow the semantic versioning format. .. //nolint: godot // no period is required after patch. contractVersion = "v0" )