Skip to content

Fix

Fix #22

Workflow file for this run

name: Go Test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.21.x' ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Install dependencies
working-directory: ./src
run: go mod tidy
- name: Build
working-directory: ./src
run: go build -v ./...
- name: Run test
working-directory: ./src
run: |
go test