Merge pull request #1137 from bloxapp/audits-dir-main #1
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: | |
# - "**" | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup make | |
run: sudo apt-get update && sudo apt-get install make | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20.x" | |
- name: Run unit tests | |
run: make unit-test |