Skip to content

Add github workflow to run unit tests #2

Add github workflow to run unit tests

Add github workflow to run unit tests #2

Workflow file for this run

name: Run Unit Tests
on:
pull_request:
types: [opened, synchronize]
jobs:
unit-test:

Check failure on line 8 in .github/workflows/go.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/go.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: false
- name: Run Tests
run: make test