diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 279a784d6..433f71b88 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -1,3 +1,5 @@ +--- +# This action is synced from https://github.com/prometheus/prometheus name: golangci-lint on: push: @@ -10,15 +12,8 @@ on: - ".golangci.yml" pull_request: -permissions: - contents: read # to fetch code (actions/checkout) - jobs: golangci: - permissions: - contents: read # to fetch code (actions/checkout) - pull-requests: read # to fetch pull requests (golangci/golangci-lint-action) - name: lint runs-on: ubuntu-latest steps: @@ -34,5 +29,4 @@ jobs: - name: Lint uses: golangci/golangci-lint-action@v3.4.0 with: - args: --verbose version: v1.53.3 diff --git a/Makefile.common b/Makefile.common index 787feff08..0ce7ea461 100644 --- a/Makefile.common +++ b/Makefile.common @@ -55,7 +55,7 @@ ifneq ($(shell command -v gotestsum > /dev/null),) endif endif -PROMU_VERSION ?= 0.14.0 +PROMU_VERSION ?= 0.15.0 PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_VERSION)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM).tar.gz SKIP_GOLANGCI_LINT :=