set Next_public_api_key env variable as BaseURL #5065
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
name: Tests | |
# Tests runs unit tests | |
# This workflow is run on pushed to [develop* master*] and every Pull Requeset where a .go, .mod, .sum have been changed | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-arch: ["amd64", "arm", "arm64"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/[email protected] | |
with: | |
go-version: 1.18 | |
- name: Build | |
run: GOARCH=${{matrix.go-arch}} make build | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/[email protected] | |
with: | |
go-version: 1.18 | |
- name: tests | |
run: make test |