D-34366 Add support for query parameters for test until (#63) #185
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: Build | |
on: | |
push: | |
branches: | |
- master | |
- release/* | |
pull_request: | |
jobs: | |
build: | |
name: Build Plugin | |
runs-on: ubuntu-latest | |
permissions: | |
packages: write | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21 | |
- name: Get branch name | |
if: contains(github.event.pull_request.labels.*.name, 'release-integration-sdk-go-build') | |
id: branch-name | |
uses: tj-actions/branch-names@v8 | |
- name: Build Project | |
run: | | |
go mod download | |
go build ./... | |
- name: Run Tests | |
run: | | |
go test -cover -v ./... |