Skip to content

Commit

Permalink
Update CI fixers (trustwallet#16549)
Browse files Browse the repository at this point in the history
* Update fix-dryrun.yml

* Update assets-go-libs version
  • Loading branch information
unanoc authored Dec 13, 2021
1 parent f7cf343 commit 2968ae8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/assets.config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
app:
log_level: info
log_level: debug

client_urls:
binance:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/fix-dryrun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:

- name: Show fix result (diff)
run: |
git config core.ignorecase false
git status
git diff
Expand Down
6 changes: 3 additions & 3 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func main() {
log.WithError(err).Fatal("failed to load file structure")
}

fileStorage := file.NewService()
fileStorage := file.NewService(paths...)
validatorsService := core.NewService(fileStorage)
assetfsProcessor := processor.NewService(fileStorage, validatorsService)

Expand All @@ -35,11 +35,11 @@ func main() {
case "updater-auto":
err = assetfsProcessor.RunUpdateAuto()
default:
log.Error("Nothing to launch. Use --script flag to choose a script to run.")
log.Info("Nothing to launch. Use --script flag to choose a script to run.")
}

if err != nil {
log.WithError(err).Error()
log.WithError(err).Fatal("Script failed")
}
}

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.17

require (
github.com/sirupsen/logrus v1.8.1
github.com/trustwallet/assets-go-libs v0.0.12-0.20211211200802-4ccd693c8b08
github.com/trustwallet/assets-go-libs v0.0.12
)

require (
Expand Down
10 changes: 2 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -272,14 +272,8 @@ github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5Cc
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s=
github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
github.com/trustwallet/assets-go-libs v0.0.12-0.20211210154426-b38f9a1b5ad5 h1:YSRZYJq5cYa58ZWbjqaJL0LASrx0kbCkjF68lf0lIac=
github.com/trustwallet/assets-go-libs v0.0.12-0.20211210154426-b38f9a1b5ad5/go.mod h1:ap6mIFsVjpRI8lXS1UX9/xAwJgaXGm9BHDxAxkQHkFc=
github.com/trustwallet/assets-go-libs v0.0.12-0.20211211195553-bf00b6d5a687 h1:eeBJ06PPaybsyG+kIJ1gSDgCUnRROcQor1XAX7ZtxiY=
github.com/trustwallet/assets-go-libs v0.0.12-0.20211211195553-bf00b6d5a687/go.mod h1:ap6mIFsVjpRI8lXS1UX9/xAwJgaXGm9BHDxAxkQHkFc=
github.com/trustwallet/assets-go-libs v0.0.12-0.20211211195751-c5d6cf4e6b74 h1:A1w3epAenNWpY3eO/cGAObLhbHBJ9EWutBYk4Ox3VtY=
github.com/trustwallet/assets-go-libs v0.0.12-0.20211211195751-c5d6cf4e6b74/go.mod h1:ap6mIFsVjpRI8lXS1UX9/xAwJgaXGm9BHDxAxkQHkFc=
github.com/trustwallet/assets-go-libs v0.0.12-0.20211211200802-4ccd693c8b08 h1:rWCyIa7S0nLZQIGbiWkJ0F018VD2lJ/AzAs8wzaFAyc=
github.com/trustwallet/assets-go-libs v0.0.12-0.20211211200802-4ccd693c8b08/go.mod h1:ap6mIFsVjpRI8lXS1UX9/xAwJgaXGm9BHDxAxkQHkFc=
github.com/trustwallet/assets-go-libs v0.0.12 h1:z4Rl4bxT68bDgVWupbSetbmLIXgMUgs7jzYw5u9QnXU=
github.com/trustwallet/assets-go-libs v0.0.12/go.mod h1:pRox1gBiF5G8TPP4s4WbvEjWq1EOSP6twFLa3KgfWvY=
github.com/trustwallet/go-libs v0.2.20 h1:pYstFNgsc7CVyVeYt5GHsMa0JNQHJVRvPQqMvXMpCtY=
github.com/trustwallet/go-libs v0.2.20/go.mod h1:7QdAp1lcteKKI0DYqGoaO8KO4eTNYjGmg8vHy0YXkKc=
github.com/trustwallet/go-primitives v0.0.17 h1:1fBxZMKGCHdHtgdUzsqdFlD21+1GneIk/sxN6jxYBds=
Expand Down

0 comments on commit 2968ae8

Please sign in to comment.