Skip to content

update tests

update tests #29

Workflow file for this run

name: test
on:
push:
paths:
- '**.go'
workflow_call:
jobs:
test:
strategy:
matrix:
go-version: [ 1.22.x ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: make test
- name: Coverage
run: make coverage
- name: store coverage
uses: actions/upload-artifact@v2
with:
name: test-coverage
path: ./coverage.html