Update CI fixers (#16549)

* Update fix-dryrun.yml

* Update assets-go-libs version
This commit is contained in:
Daniel 2021-12-13 21:29:16 +03:00 committed by GitHub
parent f7cf343b40
commit 2968ae8087
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 13 deletions

View File

@ -1,5 +1,5 @@
app: app:
log_level: info log_level: debug
client_urls: client_urls:
binance: binance:

View File

@ -21,6 +21,7 @@ jobs:
- name: Show fix result (diff) - name: Show fix result (diff)
run: | run: |
git config core.ignorecase false
git status git status
git diff git diff

View File

@ -23,7 +23,7 @@ func main() {
log.WithError(err).Fatal("failed to load file structure") log.WithError(err).Fatal("failed to load file structure")
} }
fileStorage := file.NewService() fileStorage := file.NewService(paths...)
validatorsService := core.NewService(fileStorage) validatorsService := core.NewService(fileStorage)
assetfsProcessor := processor.NewService(fileStorage, validatorsService) assetfsProcessor := processor.NewService(fileStorage, validatorsService)
@ -35,11 +35,11 @@ func main() {
case "updater-auto": case "updater-auto":
err = assetfsProcessor.RunUpdateAuto() err = assetfsProcessor.RunUpdateAuto()
default: 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 { if err != nil {
log.WithError(err).Error() log.WithError(err).Fatal("Script failed")
} }
} }

2
go.mod
View File

@ -4,7 +4,7 @@ go 1.17
require ( require (
github.com/sirupsen/logrus v1.8.1 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 ( require (

10
go.sum
View File

@ -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/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 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s=
github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= 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 h1:z4Rl4bxT68bDgVWupbSetbmLIXgMUgs7jzYw5u9QnXU=
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/go.mod h1:pRox1gBiF5G8TPP4s4WbvEjWq1EOSP6twFLa3KgfWvY=
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/go-libs v0.2.20 h1:pYstFNgsc7CVyVeYt5GHsMa0JNQHJVRvPQqMvXMpCtY= 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-libs v0.2.20/go.mod h1:7QdAp1lcteKKI0DYqGoaO8KO4eTNYjGmg8vHy0YXkKc=
github.com/trustwallet/go-primitives v0.0.17 h1:1fBxZMKGCHdHtgdUzsqdFlD21+1GneIk/sxN6jxYBds= github.com/trustwallet/go-primitives v0.0.17 h1:1fBxZMKGCHdHtgdUzsqdFlD21+1GneIk/sxN6jxYBds=