changed oauth token field to securejson field . (#50) #59
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 Test | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Backend unit testing | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.21 | |
- name: Debug for ENVs | |
shell: bash | |
run: | | |
pwd | |
echo ${HOME} | |
echo ${GITHUB_WORKSPACE} | |
echo ${GOPATH} | |
echo ${GOROOT} | |
env: | |
GOPATH: /home/runner/work/vertica-grafana-test-repo/go | |
- name: Test | |
run: go test -v ./... | |
env: | |
GOPATH: /home/runner/work/vertica-grafana-test-repo/go | |