name: build on: pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - name: Checkout repo uses: actions/checkout@v2 with: fetch-depth: 0 - name: Set up Go uses: actions/setup-go@v2 with: go-version: ^1.15 - name: Run unit tests run: go test ./... - name: Run integration tests for BIND provider working-directory: integrationTest run: go test -v -verbose -provider BIND - name: Run integration test for ROUTE53 provider working-directory: integrationTest run: go test -v -verbose -provider ROUTE53 env: R53_DOMAIN: dnscontroltest-r53.com R53_KEY_ID: ${{ secrets.R53_KEY_ID }} R53_KEY: ${{ secrets.R53_KEY }} - name: Build binaries run: go run build/build.go