[CSGI-2017 ] Update pagerduty_user_contact_method
address validation logic
#715
Workflow file for this run
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
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout code | |
uses: actions/checkout@v2 | |
- | |
name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.17 | |
- | |
name: Install cookie | |
run: scripts/gogetcookie.sh | |
- | |
name: Run tests | |
env: | |
GOFLAGS: "-mod=vendor" | |
run: | | |
make test | |
make vet |