Skip to content

Changes in the installer script and the voyager code to upgrade golang version from 1.20 to 1.23.1 #6016

Changes in the installer script and the voyager code to upgrade golang version from 1.20 to 1.23.1

Changes in the installer script and the voyager code to upgrade golang version from 1.20 to 1.23.1 #6016

Workflow file for this run

name: Go
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.23.1"
- name: Build
run: |
cd yb-voyager
go build -v ./...
- name: Test
run: |
cd yb-voyager
go test -v ./...
- name: Vet
run: |
cd yb-voyager
go vet ./...
- name: Run staticcheck
run: |
cd yb-voyager
go install honnef.co/go/tools/cmd/staticcheck@2023.1.7
staticcheck ./...