Skip to content

fix unit test not runnign on push #443

fix unit test not runnign on push

fix unit test not runnign on push #443

Workflow file for this run

name: Unit tests
on:
push:
branches:
- "*"
pull_request:
jobs:
build:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: "1.20.5"
- uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run unit tests
run: ./test.sh