Skip to content

Commit

Permalink
Update golanci-lint and goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Feb 14, 2022
1 parent b4148f7 commit c55ee59
Show file tree
Hide file tree
Showing 9 changed files with 657 additions and 15 deletions.
12 changes: 6 additions & 6 deletions .bingo/Variables.mk

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .bingo/golangci-lint.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

193 changes: 193 additions & 0 deletions .bingo/golangci-lint.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .bingo/goreleaser.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

453 changes: 453 additions & 0 deletions .bingo/goreleaser.sum

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .bingo/variables.env
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ GO_MOD_UPGRADE="${GOBIN}/go-mod-upgrade-v0.7.0"

GOA="${GOBIN}/goa-v3.5.5"

GOLANGCI_LINT="${GOBIN}/golangci-lint-v1.43.0"
GOLANGCI_LINT="${GOBIN}/golangci-lint-v1.44.0"

GORELEASER="${GOBIN}/goreleaser-v0.169.0"
GORELEASER="${GOBIN}/goreleaser-v1.4.1"

GOTESTSUM="${GOBIN}/gotestsum-v1.7.0"

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ ignored:
$(foreach PACKAGE,$(IGNORED_PACKAGES),@echo $(PACKAGE)$(NEWLINE))

lint:
$(GOLANGCI_LINT) run -v --timeout=5m
$(GOLANGCI_LINT) run -v --timeout=5m --fix

goagen:
$(GOA) gen github.com/artefactual-labs/enduro/internal/api/design -o internal/api
Expand Down
1 change: 0 additions & 1 deletion internal/collection/collection.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import (
type Service interface {
// Goa returns an implementation of the goacollection Service.
Goa() goacollection.Service

Create(context.Context, *Collection) error
UpdateWorkflowStatus(ctx context.Context, ID uint, name string, workflowID, runID, transferID, aipID, pipelineID string, status Status, storedAt time.Time) error
SetStatus(ctx context.Context, ID uint, status Status) error
Expand Down
3 changes: 0 additions & 3 deletions internal/watcher/watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,8 @@ type Watcher interface {

// Every watcher targets a pipeline.
Pipeline() string

RetentionPeriod() *time.Duration

CompletedDir() string

StripTopLevelDir() bool

// Full path of the watched bucket when available, empty string otherwise.
Expand Down

0 comments on commit c55ee59

Please sign in to comment.