Skip to content

Add a local Docker image build command in Makefile #1144

Add a local Docker image build command in Makefile

Add a local Docker image build command in Makefile #1144

Workflow file for this run

name: unittest
on: pull_request
jobs:
test:
name: unittest
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.20
- name: Checkout code
uses: actions/checkout@v1
- name: Build
run: make all
- name: Run unittest
run: make test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt