Skip to content

chore(project): initialize fork #32

chore(project): initialize fork

chore(project): initialize fork #32

Workflow file for this run

name: Unit Test
on:
pull_request:
branches:
- "master"
push:
branches:
- "master"
permissions: read-all
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.19'
- name: Run unit tests
run: |
make unit-test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./cover.out
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}