Skip to content

Commit

Permalink
Merge pull request #7655 from dolthub/db/bump-go
Browse files Browse the repository at this point in the history
[no-release-notes] /{.github,go,integration-tests}: bump go version
  • Loading branch information
coffeegoddd authored Mar 28, 2024
2 parents 9d9e9e5 + 680af8d commit 58529a2
Show file tree
Hide file tree
Showing 21 changed files with 8 additions and 26 deletions.
1 change: 0 additions & 1 deletion .github/workflows/bump-dependency.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go/go.mod
check-latest: true
- name: Bump dependency
working-directory: go
run: |
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/cd-release-pgo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go/go.mod
check-latest: true
- name: Configure AWS Credentials
uses: aws-actions/[email protected]
with:
Expand Down Expand Up @@ -83,9 +82,9 @@ jobs:
run: |
latest=$(git rev-parse HEAD)
echo "commitish=$latest" >> $GITHUB_OUTPUT
GO_BUILD_VERSION=1.21 go/utils/publishrelease/buildpgobinaries.sh
GO_BUILD_VERSION=1.22 go/utils/publishrelease/buildpgobinaries.sh
env:
GO_BUILD_VERSION: "1.21"
GO_BUILD_VERSION: "1.22"
PROFILE: ${{ format('{0}/dolt-cpu-profile.pprof', github.workspace) }}
- name: Create Release
id: create_release
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci-bats-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go/go.mod
check-latest: true
id: go
- name: Setup Python 3.x
uses: actions/setup-python@v4
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci-bats-unix-remote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go/go.mod
check-latest: true
id: go
- name: Setup Python 3.x
if: ${{ env.use_credentials != 'true' }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci-bats-unix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go/go.mod
check-latest: true
id: go
- name: Setup Python 3.x
uses: actions/setup-python@v4
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci-bats-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go/go.mod
check-latest: true
id: go
- name: Setup Python 3.x
uses: actions/setup-python@v4
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/ci-check-repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go/go.mod
check-latest: true
- name: Check all
id: should_format
working-directory: ./go
Expand Down Expand Up @@ -76,7 +75,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go/go.mod
check-latest: true
- name: Copy script
working-directory: ./go/utils/repofmt
run: cp format_repo.sh _format_repo.sh
Expand Down Expand Up @@ -107,7 +105,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go/go.mod
check-latest: true
- name: Run go mod tidy
run: go mod tidy
working-directory: ./go
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci-compatibility-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go/go.mod
check-latest: true
id: go
- uses: actions/setup-node@v3
with:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci-go-race-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go/go.mod
check-latest: true
id: go
- name: Test engine
working-directory: ./go
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci-go-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go/go.mod
check-latest: true
id: go
- name: Test All
working-directory: ./go
Expand Down Expand Up @@ -76,7 +75,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go/go.mod
check-latest: true
id: go
- name: Test All
working-directory: ./go
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci-lambdabats-unix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ jobs:
if: ${{ env.use_credentials == 'true' }}
with:
go-version-file: go/go.mod
check-latest: true
id: go
- name: install lambdabats
if: ${{ env.use_credentials == 'true' }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci-sql-server-integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go/go.mod
check-latest: true
id: go
- name: Create CI Bin
run: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/import-perf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go/go.mod
check-latest: true

- name: Dolt version
id: version
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/merge-perf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go/go.mod
check-latest: true

- name: Setup Python 3.x
uses: actions/setup-python@v4
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/sysbench-perf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go/go.mod
check-latest: true

- name: Dolt version
id: version
Expand Down
2 changes: 1 addition & 1 deletion go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,4 @@ require (

replace github.com/dolthub/dolt/go/gen/proto/dolt/services/eventsapi => ./gen/proto/dolt/services/eventsapi

go 1.21
go 1.22
2 changes: 1 addition & 1 deletion go/performance/continuous_integration/SysbenchDockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/amd64 golang:1.21-alpine as gobin
FROM --platform=linux/amd64 golang:1.22-alpine as gobin
FROM --platform=linux/amd64 ubuntu:22.04

COPY --from=gobin /usr/local/go/ /go/
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/DataDumpLoadDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN apt update -y && \

# install go
WORKDIR /root
ENV GO_VERSION=1.21.2
ENV GO_VERSION=1.22.1
ENV GOPATH=$HOME/go
ENV PATH=$PATH:$GOPATH/bin
ENV PATH=$PATH:$GOPATH/bin:/usr/local/go/bin
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/MySQLDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ RUN apt update -y && \

# install go
WORKDIR /root
ENV GO_VERSION=1.21.2
ENV GO_VERSION=1.22.1
ENV GOPATH=$HOME/go
ENV PATH=$PATH:$GOPATH/bin
ENV PATH=$PATH:$GOPATH/bin:/usr/local/go/bin
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/ORMDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN apt update -y && \

# install go
WORKDIR /root
ENV GO_VERSION=1.21.2
ENV GO_VERSION=1.22.1
ENV GOPATH=$HOME/go
ENV PATH=$PATH:$GOPATH/bin
ENV PATH=$PATH:$GOPATH/bin:/usr/local/go/bin
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/go-sql-server-driver/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/dolthub/dolt/integration-tests/go-sql-server-driver

go 1.21
go 1.22

require (
github.com/dolthub/dolt/go v0.40.4
Expand Down

0 comments on commit 58529a2

Please sign in to comment.