Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Github Action Golang Unit Testing
name: Testing
on: [pull_request]
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.16.x
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: make test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment