Allow CI to modify go.mod and go.sum for missing hashes. (#297)

* Allow CI to modify go.mod and go.sum for missing hashes.
* Updating CHANGELOG.
This commit is contained in:
Jakub Sobon 2021-03-06 02:07:39 -05:00 committed by GitHub
parent 5b49d8958a
commit a5995f58b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View File

@ -8,8 +8,11 @@ before_install:
script: script:
- go get -t ./... - go get -t ./...
- go get -u golang.org/x/lint/golint - go get -u golang.org/x/lint/golint
- go test ./... # Temporarily set -mod=mod to allow modification of go.mod and go.sum.
- CGO_ENABLED=1 go test -race ./... # This seems to be caused by a sum missing in the tcell dependency and
# should be removed when no longer needed.
- go test -mod=mod ./...
- CGO_ENABLED=1 go test -mod=mod -race ./...
- go vet ./... - go vet ./...
- diff -u <(echo -n) <(gofmt -d -s .) - diff -u <(echo -n) <(gofmt -d -s .)
- diff -u <(echo -n) <(./internal/scripts/autogen_licences.sh .) - diff -u <(echo -n) <(./internal/scripts/autogen_licences.sh .)

View File

@ -9,8 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- Bump github.com/gdamore/tcell/v2 from 2.0.0 to 2.1.0. - Bump github.com/gdamore/tcell/v2 from 2.0.0 to 2.2.0.
- Bump github.com/mattn/go-runewidth from 0.0.9 to 0.0.10. - Bump github.com/mattn/go-runewidth from 0.0.9 to 0.0.10.
- Allowing CI to modify go.mod and go.sum when necessary.
### Added ### Added