[DE-117] Update Payment profiles and Component price points #45
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 & run tests | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- "main" | |
env: | |
TEST_API_KEY: ${{secrets.TEST_API_KEY}} | |
TEST_API_PASSWORD: ${{secrets.TEST_API_PASSWORD}} | |
TEST_DOMAIN: ${{vars.TEST_DOMAIN}} | |
TEST_SUBDOMAIN: ${{vars.TEST_SUBDOMAIN}} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: [ '1.18', '1.19', '1.20', '1.21.x' ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Install dependencies | |
run: | | |
go get . | |
- name: Build | |
run: go build -v ./... | |
- name: Test with the Go CLI | |
run: cd test && go test -v |