Skip to content

Commit

Permalink
ci(deps): bump mage-tools
Browse files Browse the repository at this point in the history
Removes the need for checking in mgmake_gen.go.
  • Loading branch information
odsod committed Jan 16, 2022
1 parent b26e826 commit fc1ad81
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .mage/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ go 1.17

require (
github.com/magefile/mage v1.12.1
go.einride.tech/mage-tools v0.17.0
go.einride.tech/mage-tools v0.19.0
)

require (
github.com/go-logr/logr v1.2.2 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/iancoleman/strcase v0.2.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)
8 changes: 6 additions & 2 deletions .mage/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@ github.com/iancoleman/strcase v0.2.0 h1:05I4QRnGpI0m37iZQRuskXh+w77mr6Z41lwQzuHL
github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho=
github.com/magefile/mage v1.12.1 h1:oGdAbhIUd6iKamKlDGVtU6XGdy5SgNuCWn7gCTgHDtU=
github.com/magefile/mage v1.12.1/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A=
go.einride.tech/mage-tools v0.17.0 h1:2TgDv0KukR61WbAk+AWz6vBkb7E1ryMYc37zcgelvPw=
go.einride.tech/mage-tools v0.17.0/go.mod h1:Z6r1+t7AAzM8G59LtsD8nM4anNGDHyo2lioYRXL8Ggs=
go.einride.tech/mage-tools v0.19.0 h1:S+TDqCO9gItFOYpJ+ioNo18cbLOJDwsjyUUWK6DVphE=
go.einride.tech/mage-tools v0.19.0/go.mod h1:pFpCBZ0U7a6862mks4y6v5xBkT4IhdrcJdEeTEjweMI=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
6 changes: 5 additions & 1 deletion .mage/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ import (
"go.einride.tech/mage-tools/mgmake"
"go.einride.tech/mage-tools/mgpath"

// mage:import
"go.einride.tech/mage-tools/targets/mgyamlfmt"

// mage:import
"go.einride.tech/mage-tools/targets/mgconvco"

Expand Down Expand Up @@ -39,10 +42,11 @@ func All() {
mg.F(mgconvco.ConvcoCheck, "origin/master..HEAD"),
mggolangcilint.GolangciLint,
mgmarkdownfmt.FormatMarkdown,
mgyamlfmt.FormatYaml,
SpannerGenerate,
)
mg.SerialDeps(
mggo.GoTest,
SpannerGenerate,
mggo.GoModTidy,
mggitverifynodiff.GitVerifyNoDiff,
)
Expand Down
8 changes: 0 additions & 8 deletions .mage/mgmake_gen.go

This file was deleted.

4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ endif
format-markdown: $(mage)
@$(mage) formatMarkdown

.PHONY: format-yaml
format-yaml: $(mage)
@$(mage) formatYaml

.PHONY: git-verify-no-diff
git-verify-no-diff: $(mage)
@$(mage) gitVerifyNoDiff
Expand Down

0 comments on commit fc1ad81

Please sign in to comment.