Skip to content

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
* Update to Go 1.16.
* Drop /vendor
* Update Go modules.

Signed-off-by: Ben Kochie <superq@gmail.com>
  • Loading branch information
SuperQ committed Mar 10, 2021
1 parent b17dc4f commit 858897c
Show file tree
Hide file tree
Showing 842 changed files with 262 additions and 301,731 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -5,7 +5,7 @@ executors:
# Whenever the Go version is updated here, .promu.yml should also be updated.
golang:
docker:
- image: circleci/golang:1.15
- image: circleci/golang:1.16

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -2,3 +2,4 @@
.build
.tarballs
testoutput
/vendor
3 changes: 0 additions & 3 deletions .golangci.yml
@@ -1,6 +1,3 @@
run:
modules-download-mode: vendor

# Run only staticcheck for now. Additional linters will be enabled one-by-one.
linters:
enable:
Expand Down
4 changes: 2 additions & 2 deletions .promu.yml
@@ -1,11 +1,11 @@
go:
# Whenever the Go version is updated here, .travis.yml and
# .circle/config.yml should also be updated.
version: 1.15
version: 1.16
repository:
path: github.com/prometheus/promu
build:
flags: -mod=vendor -a -tags 'netgo static_build'
flags: -a -tags 'netgo static_build'
ldflags: |
-s
-X github.com/prometheus/common/version.Version={{.Version}}
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Expand Up @@ -4,10 +4,10 @@ require (
github.com/Masterminds/semver v1.5.0
github.com/google/go-github/v25 v25.1.3
github.com/pkg/errors v0.9.1
github.com/prometheus/common v0.13.0
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
github.com/prometheus/common v0.18.0
golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93
gopkg.in/alecthomas/kingpin.v2 v2.2.6
gopkg.in/yaml.v2 v2.3.0
gopkg.in/yaml.v2 v2.4.0
)

go 1.14
278 changes: 255 additions & 23 deletions go.sum

Large diffs are not rendered by default.

29 changes: 0 additions & 29 deletions vendor/github.com/Masterminds/semver/.travis.yml

This file was deleted.

109 changes: 0 additions & 109 deletions vendor/github.com/Masterminds/semver/CHANGELOG.md

This file was deleted.

19 changes: 0 additions & 19 deletions vendor/github.com/Masterminds/semver/LICENSE.txt

This file was deleted.

36 changes: 0 additions & 36 deletions vendor/github.com/Masterminds/semver/Makefile

This file was deleted.

0 comments on commit 858897c

Please sign in to comment.