Skip to content

PrivateLink: Improves the invoking privatelink api method and supports refreshing credential automatically #12183

PrivateLink: Improves the invoking privatelink api method and supports refreshing credential automatically

PrivateLink: Improves the invoking privatelink api method and supports refreshing credential automatically #12183

name: Golangci-Lint
on:
pull_request:
paths:
- .github/workflows/acctest-terraform-lint.yml.yml
- alicloud/*.go
jobs:
# golangci-lint-review-log:
# name: golangci-lint-with-review-log
# runs-on: ubuntu-latest
# steps:
# - name: Check out code into the Go module directory
# uses: actions/checkout@v2
# - name: golangci-lint
# uses: reviewdog/action-golangci-lint@v2
# with:
# go_version: '1.19.3'
# golangci_lint_flags: '--timeout=25m --disable-all -E gofmt ./alicloud'
# level: info
# reporter: github-pr-check
errcheck:
name: runner / errcheck
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: errcheck
uses: reviewdog/action-golangci-lint@v2
with:
golangci_lint_flags: '--tests=false --timeout=25m --disable-all -E errcheck'
tool_name: errcheck
level: info
reviewdog_version: 'v0.18.1'
golangci_lint_version: 'v1.59.1'