-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
111 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: goreleaser | ||
|
||
on: | ||
pull_request: | ||
push: | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
goreleaser: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- | ||
name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.17 | ||
- | ||
name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v2 | ||
with: | ||
# either 'goreleaser' (default) or 'goreleaser-pro' | ||
distribution: goreleaser | ||
version: latest | ||
args: release --rm-dist | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# This is an example .goreleaser.yml file with some sensible defaults. | ||
# Make sure to check the documentation at https://goreleaser.com | ||
before: | ||
hooks: | ||
# You may remove this if you don't use go modules. | ||
- go mod tidy | ||
builds: | ||
- env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- linux | ||
- windows | ||
- darwin | ||
main: ./cmd | ||
binary: pvpc | ||
archives: | ||
- replacements: | ||
darwin: Darwin | ||
linux: Linux | ||
windows: Windows | ||
386: i386 | ||
amd64: x86_64 | ||
checksum: | ||
name_template: 'checksums.txt' | ||
snapshot: | ||
name_template: "{{ incpatch .Version }}-next" | ||
changelog: | ||
sort: asc | ||
filters: | ||
exclude: | ||
- '^docs:' | ||
- '^test:' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,47 @@ | ||
module github.com/mrmarble/pvpc-telegraf-plugin | ||
|
||
go 1.17 | ||
|
||
require ( | ||
collectd.org v0.5.0 // indirect | ||
github.com/BurntSushi/toml v0.4.1 // indirect | ||
github.com/alecthomas/units v0.0.0-20210208195552-ff826a37aa15 // indirect | ||
github.com/antchfx/jsonquery v1.1.4 // indirect | ||
github.com/antchfx/xmlquery v1.3.6 // indirect | ||
github.com/antchfx/xpath v1.1.11 // indirect | ||
github.com/benbjohnson/clock v1.1.0 // indirect | ||
github.com/caio/go-tdigest v3.1.0+incompatible // indirect | ||
github.com/coreos/go-semver v0.3.0 // indirect | ||
github.com/doclambda/protobufquery v0.0.0-20210317203640-88ffabe06a60 // indirect | ||
github.com/fatih/color v1.10.0 // indirect | ||
github.com/go-logfmt/logfmt v0.5.0 // indirect | ||
github.com/gobwas/glob v0.2.3 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect | ||
github.com/golang/protobuf v1.5.2 // indirect | ||
github.com/golang/snappy v0.0.4 // indirect | ||
github.com/influxdata/telegraf v1.21.1 // indirect | ||
github.com/influxdata/toml v0.0.0-20190415235208-270119a8ce65 // indirect | ||
github.com/jhump/protoreflect v1.8.3-0.20210616212123-6cc1efa697ca // indirect | ||
github.com/mattn/go-colorable v0.1.8 // indirect | ||
github.com/mattn/go-isatty v0.0.12 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect | ||
github.com/naoina/go-stringutil v0.1.0 // indirect | ||
github.com/philhofer/fwd v1.1.1 // indirect | ||
github.com/prometheus/client_model v0.2.0 // indirect | ||
github.com/prometheus/common v0.31.1 // indirect | ||
github.com/prometheus/prometheus v1.8.2-0.20210430082741-2a4b8e12bbf2 // indirect | ||
github.com/tidwall/gjson v1.10.2 // indirect | ||
github.com/tidwall/match v1.1.1 // indirect | ||
github.com/tidwall/pretty v1.2.0 // indirect | ||
github.com/tinylib/msgp v1.1.6 // indirect | ||
github.com/vjeantet/grok v1.0.1 // indirect | ||
github.com/wavefronthq/wavefront-sdk-go v0.9.9 // indirect | ||
go.uber.org/atomic v1.9.0 // indirect | ||
go.uber.org/multierr v1.6.0 // indirect | ||
golang.org/x/net v0.0.0-20211005215030-d2e5035098b3 // indirect | ||
golang.org/x/sys v0.0.0-20211013075003-97ac67df715c // indirect | ||
golang.org/x/text v0.3.7 // indirect | ||
google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06 // indirect | ||
google.golang.org/protobuf v1.27.1 // indirect | ||
) |