Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: upgrade from go 1.16 to go 1.18 #403

Merged
merged 20 commits into from
Dec 9, 2022
Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/run-application/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ runs:
working-directory: '${{ inputs.working-directory }}'
run: |
./${{ inputs.file }} ${{ inputs.args }} &> ${{ inputs.file }}.log & PID=$!
echo "::set-output name=pid::${PID}"
echo "pid=${PID}" >> "$GITHUB_OUTPUT"

- name: 'Wait for output to appear'
shell: bash
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
go-version: 1.18

- name: Install
shell: bash
run: |
go get -u github.com/lovoo/goka@master
go mod init test
GOSUMDB=off go get -t github.com/lovoo/goka@master
go test -v github.com/lovoo/goka

4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
go-version: 1.18

- name: Test
shell: bash
Expand All @@ -30,7 +30,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
go-version: 1.18

- name: Services
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/runexamples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
go-version: 1.18

- name: Build examples
shell: bash
Expand Down
29 changes: 24 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,20 +1,39 @@
module github.com/lovoo/goka

go 1.16
go 1.18

require (
github.com/Shopify/sarama v1.33.0
github.com/Shopify/toxiproxy/v2 v2.4.0 // indirect
github.com/go-stack/stack v1.8.0
github.com/golang/mock v1.4.4
github.com/gorilla/mux v1.8.0
github.com/hashicorp/go-multierror v1.1.1
github.com/klauspost/compress v1.15.6 // indirect
github.com/pierrec/lz4/v4 v4.1.14 // indirect
github.com/stretchr/testify v1.7.1
github.com/syndtr/goleveldb v1.0.0
golang.org/x/net v0.0.0-20220520000938-2e3eb7b945c2 // indirect
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a
gopkg.in/redis.v5 v5.2.9
gopkg.in/yaml.v2 v2.4.0
)

require (
github.com/Shopify/toxiproxy/v2 v2.4.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/eapache/go-resiliency v1.2.0 // indirect
github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21 // indirect
github.com/eapache/queue v1.1.0 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/hashicorp/errwrap v1.0.0 // indirect
github.com/hashicorp/go-uuid v1.0.2 // indirect
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
github.com/jcmturner/gofork v1.0.0 // indirect
github.com/jcmturner/gokrb5/v8 v8.4.2 // indirect
github.com/jcmturner/rpc/v2 v2.0.3 // indirect
github.com/klauspost/compress v1.15.6 // indirect
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
golang.org/x/crypto v0.0.0-20220214200702-86341886e292 // indirect
golang.org/x/net v0.0.0-20220520000938-2e3eb7b945c2 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)
Loading