Skip to content

chore: update README.md #4

chore: update README.md

chore: update README.md #4

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: 1.22.0
- name: Install
run: go mod tidy
- name: Test
run: go test -race -coverprofile=cover.prof -covermode=atomic ./pkg/...
- name: Copy coverage profile to text
run: cp cover.prof cover.txt
- name: Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: notebox/nbfm
file: ./cover.txt