better logs, add custom errs for dev-portal #56
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 | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master", "dev" ] | |
workflow_dispatch: | |
env: | |
GOLANG_PROTOBUF_REGISTRATION_CONFLICT: ignore | |
jobs: | |
run_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: clone repo | |
uses: actions/checkout@v3 | |
- name: download and install | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23.1' | |
- name: install protoc (protobuf) | |
uses: arduino/setup-protoc@v3 | |
with: | |
version: "27.2" | |
include-pre-releases: false | |
- name: chmod to allow run script | |
run: chmod +x ./scripts/install_deps | |
- name: install dependencies | |
run: ./scripts/install_deps | |
- name: go tests | |
run: go test -v ./... |