diff --git a/.github/actions/action.yml b/.github/actions/action.yml new file mode 100644 index 0000000..a8ffd51 --- /dev/null +++ b/.github/actions/action.yml @@ -0,0 +1,22 @@ +name: release +description: release ghg +inputs: + tag: + description: tag name to be released + default: '' + token: + description: GitHub token + required: true +runs: + using: composite + steps: + - name: setup go + uses: actions/setup-go@v3 + with: + go-version: 1.x + - name: release + run: | + make crossbuild upload + shell: bash + env: + GITHUB_TOKEN: ${{ inputs.token }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..084f9b1 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,14 @@ +name: release +on: + push: + tags: + - "v[0-9]+.[0-9]+.[0-9]+" +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v3 + - uses: ./.github/actions/release + with: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/reviewdog.yaml b/.github/workflows/reviewdog.yaml new file mode 100644 index 0000000..67b90ea --- /dev/null +++ b/.github/workflows/reviewdog.yaml @@ -0,0 +1,42 @@ +name: reviewdog +on: [pull_request] + +jobs: + staticcheck: + name: staticcheck + runs-on: ubuntu-latest + steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v3 + with: + persist-credentials: false + - name: staticcheck + uses: reviewdog/action-staticcheck@v1 + with: + reporter: github-pr-review + level: warning + + misspell: + name: misspell + runs-on: ubuntu-latest + steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v3 + with: + persist-credentials: false + - name: misspell + uses: reviewdog/action-misspell@v1 + with: + reporter: github-pr-review + level: warning + locale: "US" + + actionlint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + persist-credentials: false + - uses: reviewdog/action-actionlint@v1 + with: + reporter: github-pr-review diff --git a/.github/workflows/tagpr.yaml b/.github/workflows/tagpr.yaml new file mode 100644 index 0000000..74af334 --- /dev/null +++ b/.github/workflows/tagpr.yaml @@ -0,0 +1,25 @@ +name: tagpr +on: + push: + branches: + - "main" +jobs: + tagpr: + runs-on: ubuntu-latest + steps: + - name: setup go + uses: actions/setup-go@v3 + with: + go-version: 1.x + - name: checkout + uses: actions/checkout@v3 + - name: tagpr + id: tagpr + uses: Songmu/tagpr@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: ./.github/actions/release + with: + tag: ${{ steps.tagpr.outputs.tag }} + token: ${{ secrets.GITHUB_TOKEN }} + if: "steps.tagpr.outputs.tag != ''" diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..8c79f22 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,27 @@ +name: test +on: + push: + branches: + - "**" +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: + - ubuntu-latest + - macOS-latest + steps: + - name: checkout + uses: actions/checkout@v3 + - name: setup go + uses: actions/setup-go@v3 + with: + go-version-file: go.mod + - name: test + run: go test -coverprofile coverage.out -covermode atomic ./... + env: + GITHUB_TOKEN: ${{ secrets.github_token }} + - name: Send coverage + uses: codecov/codecov-action@v1 diff --git a/.gitignore b/.gitignore index 913e987..a858de4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ .* !.gitignore -!.travis.yml -!.goxc.json +!.github dist/ vendor/ diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d832680..0000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -language: go -go: -- 1.11.x -script: -- make lint -- make test -after_script: -- make cover -env: - secure: H29U/4imp1ceHRKLnV9YRQpsLhqa0CwLEL50wamjMDBJ07A6m7B50knRNnPbDYBa3maJ6Xbj55UgDWWnVjLpO9HW3WGb4/qnK5/8OQl6XduNRDtol0QmKw8/wC8C0iB0o1DFWv6dIdaQ5DN4fDSM5521QzVvqrQiNBQh4siD3xt4XW6aqTOz9FYWO5HTqGDcxlrNTqeMZHmoSOS3+uQ9thXW3zrN1Lz+C0AHnz+V40/DwfXm35mbJ+B3uFRfxtVZ/FyN+K4xwmhmJEco/gAd6+RQOBkNIwlmorOItND+GLYFaNIWK9y0iNeOUkmswQQP4IKKWtLwK78tTaX6jOQUkVHdzlbh6mZx2XRqKIgovct841JPFqAqNyW/UYJBxEbEMJ9/4SBEV2+/IVo9WKRSRX+WxEyQqWQCEclSUudTK3V5KdX4AeLy5X/ZYO5rHJt5Xk3WvDJW+7ozozDGXLMlJxi8G4wDgxG8lBX0OVf7xI5nnsfZFUyVpLYID6W3TUbmPOm6A4Mfdj3j4uE0/IeY2A+8rtTu1dqiEn5H1aT8CDoYoJM5vokYlcvYh9PYeAiSRVaz1SUMtWZZRfsbRaJS1qMgw+dWhXssJUNNyoeoSQR/YIlBrRIyrpZp1oeiacsXK4G2jFL7jx9zTWm6bPV0C8etBjIj3mfl7QrCX4XFOnE= diff --git a/Makefile b/Makefile index 48c3503..5a875b2 100644 --- a/Makefile +++ b/Makefile @@ -1,48 +1,43 @@ -VERSION = $(shell gobump show -r) +VERSION = $(shell godzil show-version) CURRENT_REVISION = $(shell git rev-parse --short HEAD) -BUILD_LDFLAGS = "-X github.com/Songmu/ghg.revision=$(CURRENT_REVISION)" +BUILD_LDFLAGS = "-s -w -X github.com/Songmu/ghg.revision=$(CURRENT_REVISION)" ifdef update u=-u endif -GO ?= GO111MODULE=on go - +.PHONY: deps deps: - env GO111MODULE=on go mod download - -devel-deps: deps - $(GO) get ${u} \ - golang.org/x/lint/golint \ - github.com/mattn/goveralls \ - github.com/motemen/gobump/cmd/gobump \ - github.com/Songmu/goxz/cmd/goxz \ - github.com/Songmu/ghch/cmd/ghch \ - github.com/tcnksm/ghr - -test: deps - $(GO) test + go get ${u} -d + go mod tidy -lint: devel-deps - $(GO) vet - golint -set_exit_status +.PHONY: devel-deps +devel-deps: + go install github.com/tcnksm/ghr@latest + go install github.com/Songmu/godzil/cmd/godzil@latest -cover: devel-deps - goveralls +.PHONY: test +test: + go test +.PHONY: build build: deps - $(GO) build -ldflags=$(BUILD_LDFLAGS) ./cmd/ghg + go build -ldflags=$(BUILD_LDFLAGS) ./cmd/ghg -crossbuild: devel-deps - env GO111MODULE=on goxz -pv=v$(shell gobump show -r) -build-ldflags=$(BUILD_LDFLAGS) \ - -os=linux,darwin,windows,freebsd -arch=amd64 -d=./dist/v$(shell gobump show -r) \ - ./cmd/ghg +.PHONY: install +install: + go install -ldflags=$(BUILD_LDFLAGS) ./cmd/ghg -bump: devel-deps - _tools/releng +CREDITS: go.sum devel-deps + godzil credits -w -upload: - ghr v$(VERSION) dist/v$(VERSION) - -release: bump crossbuild upload +DIST_DIR = dist +.PHONY: crossbuild +crossbuild: go.sum devel-deps + rm -rf $(DIST_DIR) + godzil crossbuild -pv=v$(VERSION) -build-ldflags=$(BUILD_LDFLAGS) \ + -os=linux,darwin,windows,freebsd -d=$(DIST_DIR) ./cmd/* + cd $(DIST_DIR) && shasum -a 256 $$(find * -type f -maxdepth 0) > SHA256SUMS -.PHONY: deps devel-deps test lint cover build crossbuild build upload release +.PHONY: upload +upload: + ghr v$(VERSION) $(DIST_DIR) diff --git a/README.md b/README.md index be678d5..6b26adb 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,15 @@ ghg ======= -[![Build Status](https://travis-ci.org/Songmu/ghg.png?branch=master)][travis] +[![Build Status](https://travis-ci.org/Songmu/ghg.png?branch=main)][travis] [![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)][license] -[![GoDoc](https://godoc.org/github.com/Songmu/ghg?status.svg)][godoc] +[![Coverage Status](https://codecov.io/gh/Songmu/ghg/branch/main/graph/badge.svg)][codecov] +[![PkgGoDev](https://pkg.go.dev/badge/github.com/Songmu/ghg)][PkgGoDev] [travis]: https://travis-ci.org/Songmu/ghg -[coveralls]: https://coveralls.io/r/Songmu/ghg?branch=master -[license]: https://github.com/Songmu/ghg/blob/master/LICENSE -[godoc]: https://godoc.org/github.com/Songmu/ghg +[codecov]: https://codecov.io/gh/Songmu/ghg +[license]: https://github.com/Songmu/ghg/blob/main/LICENSE +[PkgGoDev]: https://pkg.go.dev/github.com/Songmu/ghg ## Description @@ -16,7 +17,7 @@ Get the executable from github releases ## Installation - % go get github.com/Songmu/ghg/cmd/ghg + % go install github.com/Songmu/ghg/cmd/ghg@latest Built binaries are available on gihub releases. diff --git a/_tools/releng b/_tools/releng deleted file mode 100755 index b8866b7..0000000 --- a/_tools/releng +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -set -e - -echo current version: $(gobump show -r) -read -p "input next version: " next_version - -gobump set $next_version -w -ghch -w -N v$next_version - -git ci -am "Checking in changes prior to tagging of version v$next_version" -git tag v$next_version -git push && git push --tags diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..cd96b59 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,2 @@ +comment: false +github_checks: false diff --git a/go.mod b/go.mod index ad70df7..e545123 100644 --- a/go.mod +++ b/go.mod @@ -1,30 +1,29 @@ module github.com/Songmu/ghg +go 1.19 + require ( - github.com/Songmu/ghch v0.4.0 // indirect - github.com/Songmu/retry v0.1.0 // indirect - github.com/dsnet/compress v0.0.0-20171208185109-cc9eb1d7ad76 - github.com/fhs/go-netrc v1.0.0 - github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db - github.com/google/go-github v17.0.0+incompatible // indirect - github.com/google/go-querystring v1.0.0 // indirect - github.com/hashicorp/go-version v1.1.0 // indirect github.com/jessevdk/go-flags v1.4.0 - github.com/jingweno/go-sawyer v0.0.0-20140729165055-1999ae5763d6 - github.com/jtacoma/uritemplates v1.0.0 - github.com/mattn/go-colorable v0.0.9 // indirect - github.com/mattn/go-isatty v0.0.4 // indirect github.com/mholt/archiver v3.1.1+incompatible - github.com/mitchellh/colorstring v0.0.0-20150917214807-8631ce90f286 // indirect github.com/mitchellh/go-homedir v0.0.0-20180523094522-3864e76763d9 github.com/mitchellh/ioprogress v0.0.0-20180201004757-6a23b12fa88e - github.com/nwaples/rardecode v0.0.0-20171029023500-e06696f847ae github.com/octokit/go-octokit v0.4.1-0.20160312003706-812e91dfbd64 - github.com/pierrec/lz4 v2.0.5+incompatible github.com/pkg/errors v0.8.0 - github.com/tcnksm/ghr v0.12.0 // indirect github.com/tcnksm/go-gitconfig v0.1.2 - github.com/tcnksm/go-latest v0.0.0-20170313132115-e3007ae9052e // indirect - github.com/ulikunitz/xz v0.5.4 - golang.org/x/oauth2 v0.0.0-20190115181402-5dab4167f31c // indirect +) + +require ( + github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 // indirect + github.com/dsnet/compress v0.0.0-20171208185109-cc9eb1d7ad76 // indirect + github.com/fhs/go-netrc v1.0.0 // indirect + github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db // indirect + github.com/jingweno/go-sawyer v0.0.0-20140729165055-1999ae5763d6 // indirect + github.com/jtacoma/uritemplates v1.0.0 // indirect + github.com/kr/pretty v0.3.1 // indirect + github.com/nwaples/rardecode v0.0.0-20171029023500-e06696f847ae // indirect + github.com/onsi/gomega v1.24.2 // indirect + github.com/pierrec/lz4 v2.0.5+incompatible // indirect + github.com/stretchr/testify v1.8.1 // indirect + github.com/ulikunitz/xz v0.5.4 // indirect + github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect ) diff --git a/go.sum b/go.sum index 50979c6..562638a 100644 --- a/go.sum +++ b/go.sum @@ -1,93 +1,63 @@ -cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -github.com/Masterminds/semver v1.4.2 h1:WBLTQ37jOCzSLtXNdoo8bNM8876KhNqOKvrlGITgsTc= -github.com/Masterminds/semver v1.4.2/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= -github.com/Songmu/ghch v0.4.0 h1:vjUSVUzQv8Ory8Racnl6GRYtgXAjV0r4WNtK2+NxAz8= -github.com/Songmu/ghch v0.4.0/go.mod h1:5qBopb83Q3Uon5zMOHlM4dHimM2yqBKtDC6x3+OX48E= -github.com/Songmu/gitsemvers v0.0.1 h1:KjekOA6kEuKW20b9Ws3j9El2rqQSFNkuOQdYUZMbDNo= -github.com/Songmu/gitsemvers v0.0.1/go.mod h1:3Pz60HfJXd/t1WPctJ/4TNwP/j0vwQQz4dnjI8Bgf3U= -github.com/Songmu/goxz v0.1.1 h1:Mtwfo7UYe6CHGiixyIk/2PCsyDZEQ/o7e/O7lLsScZg= -github.com/Songmu/goxz v0.1.1/go.mod h1:nmwtXnff39nrvYo3eu3es2OigsPCIIDl2EAw+k5Icyc= -github.com/Songmu/retry v0.1.0 h1:hPA5xybQsksLR/ry/+t/7cFajPW+dqjmjhzZhioBILA= -github.com/Songmu/retry v0.1.0/go.mod h1:7sXIW7eseB9fq0FUvigRcQMVLR9tuHI0Scok+rkpAuA= -github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= -github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= +github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 h1:DDGfHa7BWjL4YnC6+E63dPcxHo2sUxDIu8g3QgEJdRY= +github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dsnet/compress v0.0.0-20171208185109-cc9eb1d7ad76 h1:eX+pdPPlD279OWgdx7f6KqIRSONuK7egk+jDx7OM3Ac= github.com/dsnet/compress v0.0.0-20171208185109-cc9eb1d7ad76/go.mod h1:KjxHHirfLaw19iGT70HvVjHQsL1vq1SRQB4yOsAfy2s= github.com/fhs/go-netrc v1.0.0 h1:jbXXfpcwkeNHq5lXXXQO9DTWD7wUqWxgnyPKUe5H4I0= github.com/fhs/go-netrc v1.0.0/go.mod h1:tGgE+SHFQhgo1jg+hG6/uCxBJv5Pnq7pTMjvaEWrOu8= -github.com/golang/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:tluoj9z5200jBnyusfRPU2LqT6J+DAorxEvtC7LHB+E= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db h1:woRePGFeVFfLKN/pOkfl+p/TAqKOfFu+7KPlMVpok/w= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/google/go-github v17.0.0+incompatible h1:N0LgJ1j65A7kfXrZnUDaYCs/Sf4rEjNlfyDHW9dolSY= -github.com/google/go-github v17.0.0+incompatible/go.mod h1:zLgOLi98H3fifZn+44m+umXrS52loVEgC2AApnigrVQ= -github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk= -github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= -github.com/hashicorp/go-version v1.1.0 h1:bPIoEKD27tNdebFGGxxYwcL4nepeY4j1QP23PFRGzg0= -github.com/hashicorp/go-version v1.1.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= -github.com/jessevdk/go-flags v0.0.0-20180331124232-1c38ed7ad0cc h1:0L2sGkaj6MWuV1BfXsrLJ/+XA8RzKKVsYlLVXNkK1Lw= -github.com/jessevdk/go-flags v0.0.0-20180331124232-1c38ed7ad0cc/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= +github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/jessevdk/go-flags v1.4.0 h1:4IU2WS7AumrZ/40jfhf4QVDMsQwqA7VEHozFRrGARJA= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jingweno/go-sawyer v0.0.0-20140729165055-1999ae5763d6 h1:2RMaSBb+6kdtJtT7SZfx4OtcjEuRQpAZ9UFU9OiT1BQ= github.com/jingweno/go-sawyer v0.0.0-20140729165055-1999ae5763d6/go.mod h1:cp3HFHBb/V8Qd4OUxZ8kz8lhwN3HKkMgKFhyM7H5+q4= github.com/jtacoma/uritemplates v1.0.0 h1:xwx5sBF7pPAb0Uj8lDC1Q/aBPpOFyQza7OC705ZlLCo= github.com/jtacoma/uritemplates v1.0.0/go.mod h1:IhIICdE9OcvgUnGwTtJxgBQ+VrTrti5PcbLVSJianO8= -github.com/mattn/go-colorable v0.0.9 h1:UVL0vNpWh04HeJXV0KLcaT7r06gOH2l4OW6ddYRUIY4= -github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= -github.com/mattn/go-isatty v0.0.4 h1:bnP0vzxcAdeI1zdubAl5PjU6zsERjGZb7raWodagDYs= -github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= -github.com/mattn/goveralls v0.0.2 h1:7eJB6EqsPhRVxvwEXGnqdO2sJI0PTsrWoTMXEk9/OQc= -github.com/mattn/goveralls v0.0.2/go.mod h1:8d1ZMHsd7fW6IRPKQh46F2WRpyib5/X4FOpevwGNQEw= -github.com/mholt/archiver v0.0.0-20180417220235-e4ef56d48eb0/go.mod h1:Dh2dOXnSdiLxRiPoVfIr/fI1TwETms9B8CTWfeh7ROU= +github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/mholt/archiver v3.1.1+incompatible h1:1dCVxuqs0dJseYEhi5pl7MYPH9zDa1wBi7mF09cbNkU= github.com/mholt/archiver v3.1.1+incompatible/go.mod h1:Dh2dOXnSdiLxRiPoVfIr/fI1TwETms9B8CTWfeh7ROU= -github.com/mitchellh/colorstring v0.0.0-20150917214807-8631ce90f286 h1:KHyL+3mQOF9sPfs26lsefckcFNDcIZtiACQiECzIUkw= -github.com/mitchellh/colorstring v0.0.0-20150917214807-8631ce90f286/go.mod h1:l0dey0ia/Uv7NcFFVbCLtqEBQbrT4OCwCSKTEv6enCw= github.com/mitchellh/go-homedir v0.0.0-20180523094522-3864e76763d9 h1:Y94YB7jrsihrbGSqRNMwRWJ2/dCxr0hdC2oPRohkx0A= github.com/mitchellh/go-homedir v0.0.0-20180523094522-3864e76763d9/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/ioprogress v0.0.0-20180201004757-6a23b12fa88e h1:Qa6dnn8DlasdXRnacluu8HzPts0S1I9zvvUPDbBnXFI= github.com/mitchellh/ioprogress v0.0.0-20180201004757-6a23b12fa88e/go.mod h1:waEya8ee1Ro/lgxpVhkJI4BVASzkm3UZqkx/cFJiYHM= -github.com/motemen/gobump v0.0.0-20170609005736-b5563e1d8b75 h1:u86Q2ngUdcfDmyFxHoQXMVdxpsOZpLJCjZ7b5izUrEQ= -github.com/motemen/gobump v0.0.0-20170609005736-b5563e1d8b75/go.mod h1:bJBHskFfPJ5RT+ERdz949lt6jPVTKl2v3KjIbbeQx/A= github.com/nwaples/rardecode v0.0.0-20171029023500-e06696f847ae h1:UF9xsJn7AeQ72TCus3eRO1lh08Id3AoF37vl+qigL/w= github.com/nwaples/rardecode v0.0.0-20171029023500-e06696f847ae/go.mod h1:5DzqNKiOdpKKBH87u8VlvAnPZMXcGRhxWkRpHbbfGS0= -github.com/octokit/go-octokit v0.0.0-20160312003706-812e91dfbd64 h1:OwOU33Drn5nnaK4RHjDcMuEn6BvZuG6qob/o1L36A+g= -github.com/octokit/go-octokit v0.0.0-20160312003706-812e91dfbd64/go.mod h1:2u3khcAsOOTW3hlaM3dbJxDdvwHMDGQsC5m7edPSLkg= github.com/octokit/go-octokit v0.4.1-0.20160312003706-812e91dfbd64 h1:sL8IwvC3aR6zDCqGxiwwHS6YCIvz2njaSqAORFeGqm8= github.com/octokit/go-octokit v0.4.1-0.20160312003706-812e91dfbd64/go.mod h1:2u3khcAsOOTW3hlaM3dbJxDdvwHMDGQsC5m7edPSLkg= -github.com/pierrec/lz4 v2.0.3+incompatible h1:h0ipQUMRrnr+/HHhxhceftyXk4QcZsmxSNliSG75Bi0= -github.com/pierrec/lz4 v2.0.3+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= +github.com/onsi/gomega v1.24.2 h1:J/tulyYK6JwBldPViHJReihxxZ+22FHs0piGjQAvoUE= +github.com/onsi/gomega v1.24.2/go.mod h1:gs3J10IS7Z7r7eXRoNJIrNqU4ToQukCJhFtKrWgHWnk= github.com/pierrec/lz4 v2.0.5+incompatible h1:2xWsjqPFWcplujydGg4WmhC/6fZqK42wMM8aXeqhl0I= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= -github.com/pkg/errors v0.0.0-20180311214515-816c9085562c h1:F5RoIh7F9wB47PvXvpP1+Ihq1TkyC8iRdvwfKkESEZQ= -github.com/pkg/errors v0.0.0-20180311214515-816c9085562c/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.8.0 h1:WdK/asTD0HN+q6hsWO3/vpuAkAr+tw6aNJNDFFf0+qw= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/tcnksm/ghr v0.12.0 h1:3dbJOU5/Nr6C1HeBWwOIvMsVt4/eOg2EQDAg11H0Y0Y= -github.com/tcnksm/ghr v0.12.0/go.mod h1:2YSVCxP2GsVRnE6R3bZxEiVnpJ9GUkotqlq2No0kTMU= -github.com/tcnksm/go-gitconfig v0.0.0-20150505151006-6411ba19847f h1:99nosetRYX8rwJV837jA2kS+jWuY9UjSBbG4N2fpvDs= -github.com/tcnksm/go-gitconfig v0.0.0-20150505151006-6411ba19847f/go.mod h1:/8EhP4H7oJZdIPyT+/UIsG87kTzrzM4UsLGSItWYCpE= +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/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= +github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= +github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/tcnksm/go-gitconfig v0.1.2 h1:iiDhRitByXAEyjgBqsKi9QU4o2TNtv9kPP3RgPgXBPw= github.com/tcnksm/go-gitconfig v0.1.2/go.mod h1:/8EhP4H7oJZdIPyT+/UIsG87kTzrzM4UsLGSItWYCpE= -github.com/tcnksm/go-latest v0.0.0-20170313132115-e3007ae9052e h1:IWllFTiDjjLIf2oeKxpIUmtiDV5sn71VgeQgg6vcE7k= -github.com/tcnksm/go-latest v0.0.0-20170313132115-e3007ae9052e/go.mod h1:d7u6HkTYKSv5m6MCKkOQlHwaShTMl3HjqSGW3XtVhXM= github.com/ulikunitz/xz v0.5.4 h1:zATC2OoZ8H1TZll3FpbX+ikwmadbO699PE06cIkm9oU= github.com/ulikunitz/xz v0.5.4/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8= github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 h1:nIPpBwaJSVYIxUFsDv3M8ofmx9yWTog9BfvIu0q41lo= github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8/go.mod h1:HUYIGzjTL3rfEspMxjDjgmT5uz5wzYJKVo23qUhYTos= -golang.org/x/lint v0.0.0-20181217174547-8f45f776aaf1 h1:rJm0LuqUjoDhSk2zO9ISMSToQxGz7Os2jRiOL8AWu4c= -golang.org/x/lint v0.0.0-20181217174547-8f45f776aaf1/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180926154720-4dfa2610cdf3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/oauth2 v0.0.0-20190115181402-5dab4167f31c h1:pcBdqVcrlT+A3i+tWsOROFONQyey9tisIQHI4xqVGLg= -golang.org/x/oauth2 v0.0.0-20190115181402-5dab4167f31c/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/tools v0.0.0-20181001222327-b71db7f417f1 h1:iRyLwL55h8bRuPzrG1NCD/YhCtjruK3cJnx0R8RK+M8= -golang.org/x/tools v0.0.0-20181001222327-b71db7f417f1/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +golang.org/x/net v0.4.0 h1:Q5QPcMlvfxFTAPV0+07Xz/MpK9NTXu2VDUuy0FeMfaU= +golang.org/x/text v0.5.0 h1:OLmvp0KP+FVG99Ct/qFiL/Fhk4zp4QQnZ7b2U+5piUM= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=