Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gotd/cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.2.4
Choose a base ref
...
head repository: gotd/cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Loading
Showing with 92 additions and 129 deletions.
  1. +1 −1 .github/workflows/codeql.yaml
  2. +2 −2 .github/workflows/commitlint.yml
  3. +8 −8 .github/workflows/lint.yml
  4. +5 −5 .github/workflows/release.yml
  5. +21 −21 go.mod
  6. +55 −92 go.sum
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3.0.2
uses: actions/checkout@v4.0.0
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
4 changes: 2 additions & 2 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
if: github.actor != 'dependabot[bot]'
steps:
- uses: actions/checkout@v3.0.2
- uses: actions/checkout@v4.0.0
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v5.0.2
- uses: wagoid/commitlint-github-action@v5.4.1
16 changes: 8 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -13,15 +13,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3.0.2
uses: actions/checkout@v4.0.0

- name: Install Go
uses: actions/setup-go@v3.2.1
uses: actions/setup-go@v4.1.0
with:
go-version: 1.17
go-version: 1.19

- name: Lint
uses: golangci/golangci-lint-action@v3.2.0
uses: golangci/golangci-lint-action@v3.7.0
with:
version: latest
args: --timeout 5m
@@ -31,20 +31,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3.0.2
uses: actions/checkout@v4.0.0

- name: Install Go
uses: actions/setup-go@v3.2.1
uses: actions/setup-go@v4.1.0
with:
go-version: 1.18
go-version: 1.19

- name: Get Go environment
id: go-env
run: |
echo "::set-output name=cache::$(go env GOCACHE)"
echo "::set-output name=modcache::$(go env GOMODCACHE)"
- name: Set up cache
uses: actions/cache@v3.0.5
uses: actions/cache@v3.3.2
with:
path: |
${{ steps.go-env.outputs.cache }}
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -10,13 +10,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.0.2
uses: actions/checkout@v4.0.0
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3.2.1
uses: actions/setup-go@v4.1.0
with:
go-version: 1.18
go-version: 1.19

- name: Get Go environment
id: go-env
@@ -25,7 +25,7 @@ jobs:
echo "::set-output name=modcache::$(go env GOMODCACHE)"
- name: Set up cache
uses: actions/cache@v3.0.5
uses: actions/cache@v3.3.2
with:
path: |
${{ steps.go-env.outputs.cache }}
@@ -35,7 +35,7 @@ jobs:
release-go-
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
42 changes: 21 additions & 21 deletions go.mod
Original file line number Diff line number Diff line change
@@ -3,40 +3,40 @@ module github.com/gotd/cli
go 1.18

require (
github.com/gabriel-vasile/mimetype v1.4.1
github.com/gotd/contrib v0.13.0
github.com/gotd/td v0.61.0
github.com/schollz/progressbar/v3 v3.8.7
github.com/urfave/cli/v2 v2.11.1
go.uber.org/zap v1.21.0
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
github.com/gabriel-vasile/mimetype v1.4.2
github.com/gotd/contrib v0.19.0
github.com/gotd/td v0.87.0
github.com/schollz/progressbar/v3 v3.13.1
github.com/urfave/cli/v2 v2.25.6
go.uber.org/zap v1.26.0
golang.org/x/sync v0.3.0
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
gopkg.in/yaml.v3 v3.0.1
)

require (
github.com/cenkalti/backoff/v4 v4.1.3 // indirect
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/go-faster/errors v0.6.1 // indirect
github.com/go-faster/jx v0.38.0 // indirect
github.com/go-faster/xor v0.3.0 // indirect
github.com/go-faster/jx v1.1.0 // indirect
github.com/go-faster/xor v1.0.0 // indirect
github.com/gotd/ige v0.2.2 // indirect
github.com/gotd/neo v0.1.5 // indirect
github.com/klauspost/compress v1.15.7 // indirect
github.com/mattn/go-runewidth v0.0.13 // indirect
github.com/klauspost/compress v1.16.7 // indirect
github.com/mattn/go-runewidth v0.0.14 // indirect
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db // indirect
github.com/rivo/uniseg v0.2.0 // indirect
github.com/rivo/uniseg v0.3.4 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/segmentio/asm v1.2.0 // indirect
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
go.opentelemetry.io/otel v1.8.0 // indirect
go.opentelemetry.io/otel/trace v1.8.0 // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.8.0 // indirect
golang.org/x/crypto v0.0.0-20220131195533-30dcbda58838 // indirect
golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e // indirect
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
go.opentelemetry.io/otel v1.18.0 // indirect
go.opentelemetry.io/otel/trace v1.18.0 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/crypto v0.13.0 // indirect
golang.org/x/net v0.15.0 // indirect
golang.org/x/sys v0.12.0 // indirect
golang.org/x/term v0.12.0 // indirect
nhooyr.io/websocket v1.8.7 // indirect
rsc.io/qr v0.2.0 // indirect
)
Loading