Fix: Do not redact password for conn pool connection uri while connecting to DB #7444
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go | |
on: | |
push: | |
branches: ['main', '*.*-dev', '*.*.*-dev'] | |
pull_request: | |
branches: [main] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-22.04 | |
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 ./... -tags 'unit' | |
- name: Vet | |
run: | | |
cd yb-voyager | |
go vet ./... | |
- name: Run staticcheck | |
run: | | |
cd yb-voyager | |
go install honnef.co/go/tools/cmd/[email protected] | |
staticcheck ./... |