Skip to content

feat(refactor) - code refactoring and generalization #46

feat(refactor) - code refactoring and generalization

feat(refactor) - code refactoring and generalization #46

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches:
- 'main'
pull_request:
jobs:
tests:
strategy:
matrix:
go-version: [ 1.18.x ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Install Dependencies
run: go mod download
- name: Test
run: go test ./src -race -coverprofile=coverage.cov -covermode=atomic -gcflags=-l
- name: Upload coverage report
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: coverage.cov