From d42949b810e5d8eb0761079e9327c72407edacb2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 13 Mar 2024 21:35:00 +0100 Subject: [PATCH] build(deps): bump github.com/mr-linch/go-tg from 0.12.0 to 0.13.0 (#98) * build(deps): bump github.com/mr-linch/go-tg from 0.12.0 to 0.13.0 Bumps [github.com/mr-linch/go-tg](https://github.com/mr-linch/go-tg) from 0.12.0 to 0.13.0. - [Release notes](https://github.com/mr-linch/go-tg/releases) - [Commits](https://github.com/mr-linch/go-tg/compare/v0.12.0...v0.13.0) --- updated-dependencies: - dependency-name: github.com/mr-linch/go-tg dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Upgrade linter action * temporarily skip cache --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Valeriy Selitskiy <239034+iamwavecut@users.noreply.github.com> --- .github/workflows/golangci-lint.yml | 11 +++++++---- go.mod | 2 +- go.sum | 12 ++++++------ 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 275bd74..3a36ec4 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -14,12 +14,15 @@ jobs: name: lint runs-on: ubuntu-latest steps: - - uses: actions/setup-go@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: '1.22' - - uses: actions/checkout@v3 + cache: false - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v4 with: - # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version + install-mode: binary version: latest + only-new-issues: true + skip-cache: true diff --git a/go.mod b/go.mod index 9a2c61e..3dd9d81 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ toolchain go1.22.1 require ( github.com/alexsergivan/transliterator v1.0.0 github.com/iamwavecut/tool v1.2.2 - github.com/mr-linch/go-tg v0.12.0 + github.com/mr-linch/go-tg v0.13.0 github.com/sashabaranov/go-openai v1.20.3 github.com/sethvargo/go-envconfig v1.0.1 github.com/sirupsen/logrus v1.9.3 diff --git a/go.sum b/go.sum index c1a2592..b31b2c8 100644 --- a/go.sum +++ b/go.sum @@ -9,8 +9,8 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/iamwavecut/tool v1.2.2 h1:nw5sW4lDc8ikH2FSOELwDNjdlJ3y4jHeX21u0VyLdeQ= github.com/iamwavecut/tool v1.2.2/go.mod h1:Ip2na+tAhDTcisXpbjrFi/dBZOE13NVDtAvAyAmdtzs= -github.com/mr-linch/go-tg v0.12.0 h1:x5tmdJFFMcSSXcBdHfcXeMIqVK/YESdYf12OwSMr+oU= -github.com/mr-linch/go-tg v0.12.0/go.mod h1:ySHBZ68Wl5Vgd6RAjNf9wbnwEN1P8deawEB/qr3GbDM= +github.com/mr-linch/go-tg v0.13.0 h1:A14ZhjFXdZfBhih9t4DbZuOPbPwoYQCgOa186bhObJs= +github.com/mr-linch/go-tg v0.13.0/go.mod h1:poS5Fu8a76VHcoG0QOjYzytuMIs0570DkITujOtdOI8= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/sashabaranov/go-openai v1.20.3 h1:JMhaSfE1mLznYIvlf8odxbyWGiFFGnQjyLw00I9R4fU= @@ -20,12 +20,12 @@ github.com/sethvargo/go-envconfig v1.0.1/go.mod h1:OKZ02xFaD3MvWBBmEW45fQr08sJEs github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= -github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= +github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/tiktoken-go/tokenizer v0.1.0 h1:c1fXriHSR/NmhMDTwUDLGiNhHwTV+ElABGvqhCWLRvY= github.com/tiktoken-go/tokenizer v0.1.0/go.mod h1:7SZW3pZUKWLJRilTvWCa86TOVIiiJhYj3FQ5V3alWcg= github.com/tomasen/realip v0.0.0-20180522021738-f0c99a92ddce h1:fb190+cK2Xz/dvi9Hv8eCYJYvIGUTN2/KLq1pT6CjEc=