fix: add production
build tag to test
command in Makefile
#11
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: Unit tests | |
on: | |
push: | |
branches: [ "*" ] | |
pull_request: | |
branches: [ "dev", "main" ] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
environment: ci_env | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go Environment | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.23.0' | |
- name: Install dependencies | |
run: | | |
go mod tidy | |
go mod download | |
- name: Generate Required Files | |
run: go run scripts/generate/main.go | |
- name: Run Unit Tests | |
run: make test |