Skip to content

ci: fix build (#141) #325

ci: fix build (#141)

ci: fix build (#141) #325

Workflow file for this run

name: 🧪 Unit testing
on:
push: { branches: [main] }
pull_request: { branches: [main] }
jobs:
unit-testing:
name: Test the code
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install go
uses: actions/setup-go@v4
with:
go-version: '1.19'
- name: Install dependencies
run: go mod download
- name: Test the code
run: go test ./...