fix: reversed names of tests (public and private) + DRY common consts #224
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: Build on branch | |
on: | |
push: | |
branches-ignore: | |
- "main" | |
jobs: | |
cli: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref_name }} | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ inputs.GO_VERSION }} | |
- name: build and deploy on pr | |
run: go run main.go onbranch --stop-on-push | |
env: | |
INITIUM_APP_NAME: initium-cli | |
INITIUM_REGISTRY_USER: ${{ github.actor }} | |
INITIUM_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }} |