Update common Prometheus files
authorprombot <prometheus-team@googlegroups.com>
Fri, 6 May 2022 11:02:56 +0000 (11:02 +0000)
committerJulien Pivotto <roidelapluie@gmail.com>
Fri, 6 May 2022 11:40:12 +0000 (13:40 +0200)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
.circleci/config.yml
.github/workflows/golangci-lint.yml
CODE_OF_CONDUCT.md
Makefile.common
SECURITY.md

index 6738877807f1dff3cfe60e263b80a6dba9d83733..f64d4b5e7f1a00079c8085f1d37f018ffef8dbc5 100644 (file)
@@ -1,6 +1,6 @@
 version: 2.1
 orbs:
-  prometheus: prometheus/prometheus@0.15.0
+  prometheus: prometheus/prometheus@0.16.0
 executors:
   # Whenever the Go version is updated here, .promu.yml should also be updated.
   golang:
index ad298b9dacb808e42a8846b8da5a03aa58361af1..136d7d4b963eeaeb1f8928349656c0660ac6cb4a 100644 (file)
@@ -17,8 +17,14 @@ jobs:
     steps:
       - name: Checkout repository
         uses: actions/checkout@v3
-
+      - name: install Go
+        uses: actions/setup-go@v2
+        with:
+          go-version: 1.18.x
+      - name: Install snmp_exporter/generator dependencies
+        run: sudo apt-get update && sudo apt-get -y install libsnmp-dev
+        if: github.repository == 'prometheus/snmp_exporter'
       - name: Lint
-        uses: golangci/golangci-lint-action@v2
+        uses: golangci/golangci-lint-action@v3.1.0
         with:
-          version: v1.44.2
+          version: v1.45.2
index 9a1aff412704f345293fe4ae6dae7d2ad53e43ba..d325872bdfad8d09e1d8c638f914f655f738c77f 100644 (file)
@@ -1,3 +1,3 @@
-## Prometheus Community Code of Conduct
+# Prometheus Community Code of Conduct
 
-Prometheus follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md).
+Prometheus follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md).
index 5ab1b142f72e8a235d757b4c8b6311da3e17cf08..c263b733fbc36eaf38ba88c994ab89d0d390efec 100644 (file)
@@ -83,7 +83,7 @@ PROMU_URL     := https://github.com/prometheus/promu/releases/download/v$(PROMU_
 
 GOLANGCI_LINT :=
 GOLANGCI_LINT_OPTS ?=
-GOLANGCI_LINT_VERSION ?= v1.44.2
+GOLANGCI_LINT_VERSION ?= v1.45.2
 # golangci-lint only supports linux, darwin and windows platforms on i386/amd64.
 # windows isn't included here because of the path separator being different.
 ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin))
index 67741f015af1e207211e13acbc5689974b33c0cb..fed02d85c79eec8f9ea9691ae5825bf87dedfacd 100644 (file)
@@ -3,4 +3,4 @@
 The Prometheus security policy, including how to report vulnerabilities, can be
 found here:
 
-https://prometheus.io/docs/operating/security/
+<https://prometheus.io/docs/operating/security/>