Skip to content

add copyright header #50

add copyright header

add copyright header #50

Workflow file for this run

name: test
# Run this workflow on pushes and manually
on: [push, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
# cache/restore go mod
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: '.go-version'
- name: Install gotestsum
run: go install gotest.tools/gotestsum@v1.7.0
- name: Test
run: |
mkdir -p test-results/go
make test-ci