Skip to content

Commit

Permalink
Update Go and dependencies (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
xperimental authored Jan 21, 2021
1 parent 5d05bde commit 2ea180e
Show file tree
Hide file tree
Showing 5 changed files with 338 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ root = true

[*]
indent_style = space
indent_size = 4
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.15.3 AS builder
FROM golang:1.15.7 AS builder

WORKDIR /build

Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ install:
install -D -t $(DESTDIR)/usr/bin/ nextcloud-exporter
install -D -m 0644 -t $(DESTDIR)/lib/systemd/system/ contrib/nextcloud-exporter.service

image:
docker build -t "xperimental/nextcloud-exporter:$(VERSION)" .

clean:
rm -f nextcloud-exporter
rm -r dist
13 changes: 8 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
module github.com/xperimental/nextcloud-exporter

go 1.13
go 1.15

require (
github.com/google/go-cmp v0.4.0
github.com/prometheus/client_golang v1.6.0
github.com/sirupsen/logrus v1.6.0
github.com/google/go-cmp v0.5.4
github.com/prometheus/client_golang v1.9.0
github.com/prometheus/procfs v0.3.0 // indirect
github.com/sirupsen/logrus v1.7.0
github.com/spf13/pflag v1.0.5
gopkg.in/yaml.v2 v2.3.0
golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 // indirect
google.golang.org/protobuf v1.25.0 // indirect
gopkg.in/yaml.v2 v2.4.0
)
Loading

0 comments on commit 2ea180e

Please sign in to comment.