Skip to content

rename restorefromreader to restore and backuptowriter to backup #24

rename restorefromreader to restore and backuptowriter to backup

rename restorefromreader to restore and backuptowriter to backup #24

Workflow file for this run

name: Tests
on:
push:
branches:
- '*'
workflow_call:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get go version from go.mod
run: |
echo "GO_VERSION=$(grep '^go ' go.mod | cut -d " " -f 2)" >> $GITHUB_ENV
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Test with go
run: |
make coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{secrets.CODECOV_TOKEN}}
files: coverage.cov
verbose: false