Skip to content

Merge pull request #51 from abdullah-alaadine/master #19

Merge pull request #51 from abdullah-alaadine/master

Merge pull request #51 from abdullah-alaadine/master #19

Workflow file for this run

name: test
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- run: go mod download
- name: Run tests
run: go test -v -race -coverprofile=coverage.out -covermode=atomic ./...