Merge pull request #149 from kanor1306/add-secure-string-generator #264
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: Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Go test | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '1.18.1' | |
- run: | | |
go test ./... | |
build: | |
runs-on: ubuntu-latest | |
name: Go build | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '1.18.1' | |
- run: | | |
go build -mod=vendor -o operator github.com/movetokube/postgres-operator/cmd/manager | |
file operator |