Skip to content

chore(project): initialize fork (#1) #35

chore(project): initialize fork (#1)

chore(project): initialize fork (#1) #35

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@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d
with:
files: ./cover.out
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}