Skip to content

Add OSSF Scorecard and Go unit test workflows #5

Add OSSF Scorecard and Go unit test workflows

Add OSSF Scorecard and Go unit test workflows #5

Workflow file for this run

name: Go Unit Test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go 1.20
uses: actions/setup-go@v5
with:
go-version: "1.20"
- name: Install dependencies
run: go mod download
- name: Run unit tests
run: make test-unit
- name: Run coverage tests
run: make coverage