Skip to content

Update github actions and improve ci logging (#187) #44

Update github actions and improve ci logging (#187)

Update github actions and improve ci logging (#187) #44

Workflow file for this run

name: Code Coverage Report
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
persist-credentials: false
- name: Set up Go 1.x
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: 1.18
- name: Run tests
run: cd index/server && go test ./... -coverprofile cover.out
- name: Codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4