Skip to content

Merge pull request #28 from blinklabs-io/dependabot/github_actions/do… #38

Merge pull request #28 from blinklabs-io/dependabot/github_actions/do…

Merge pull request #28 from blinklabs-io/dependabot/github_actions/do… #38

Workflow file for this run

name: go-test
on:
push:
tags:
- v*
branches:
- main
pull_request:
jobs:
go-test:
name: go-test
strategy:
matrix:
go-version: [1.20.x, 1.21.x]
# XXX: is it actually useful to run unit tests on macOS?
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: go-test
run: go test ./...