Skip to content

Commit

Permalink
Use latest Go version
Browse files Browse the repository at this point in the history
  • Loading branch information
zquestz committed May 1, 2024
1 parent fda44da commit b2bd385
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: go
go:
- 1.21.1
- 1.20.8
- 1.22.2
- 1.21.9
os:
- linux
install:
Expand All @@ -13,10 +13,10 @@ script:
- go test -i -race ./...
- go test -v -race ./...
after_script:
- if [ "$TRAVIS_GO_VERSION" = "1.21.1" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then go get github.com/inconshreveable/mousetrap; fi
- if [ "$TRAVIS_GO_VERSION" = "1.21.1" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then go install github.com/mitchellh/gox; fi
- if [ "$TRAVIS_GO_VERSION" = "1.21.1" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then go install github.com/tcnksm/ghr; fi
- if [ "$TRAVIS_GO_VERSION" = "1.21.1" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then make compile; ghr --username zquestz --token $GITHUB_TOKEN --replace $TRAVIS_TAG pkg/; fi
- if [ "$TRAVIS_GO_VERSION" = "1.22.2" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then go get github.com/inconshreveable/mousetrap; fi
- if [ "$TRAVIS_GO_VERSION" = "1.22.2" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then go install github.com/mitchellh/gox; fi
- if [ "$TRAVIS_GO_VERSION" = "1.22.2" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then go install github.com/tcnksm/ghr; fi
- if [ "$TRAVIS_GO_VERSION" = "1.22.2" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then make compile; ghr --username zquestz --token $GITHUB_TOKEN --replace $TRAVIS_TAG pkg/; fi
notifications:
webhooks:
urls:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Start from a Debian image with the latest version of Go installed
# and a workspace (GOPATH) configured at /go.
FROM golang:1.21.1-alpine
FROM golang:1.22.2-alpine

LABEL org.opencontainers.image.authors="Josh Ellithorpe <quest@mac.com>"

Expand Down

0 comments on commit b2bd385

Please sign in to comment.