Skip to content

Commit

Permalink
Merge pull request #950 from mrueg/go-1.17
Browse files Browse the repository at this point in the history
Add support for go 1.17
  • Loading branch information
kakkoyun committed Dec 20, 2021
2 parents 6d5cf25 + 8535b62 commit 1d09783
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Expand Up @@ -63,6 +63,8 @@ workflows:
name: go-1-16
go_version: "1.16"
run_lint: true
# Style and unused/missing packages are only checked against
# the latest supported Go version.
- test:
name: go-1-17
go_version: "1.17"
run_lint: true
run_style_and_unused: true
1 change: 1 addition & 0 deletions prometheus/collectors/dbstats_collector_go115.go
Expand Up @@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build go1.15
// +build go1.15

package collectors
Expand Down
1 change: 1 addition & 0 deletions prometheus/collectors/dbstats_collector_pre_go115.go
Expand Up @@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build !go1.15
// +build !go1.15

package collectors
Expand Down
1 change: 1 addition & 0 deletions prometheus/process_collector_other.go
Expand Up @@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build !windows
// +build !windows

package prometheus
Expand Down
1 change: 1 addition & 0 deletions prometheus/process_collector_test.go
Expand Up @@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build linux
// +build linux

package prometheus
Expand Down

0 comments on commit 1d09783

Please sign in to comment.