Skip to content

Instantly share code, notes, and snippets.

@lenardchristopher
Last active September 5, 2021 12:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lenardchristopher/e47782bd841e55c2254c7c202ba8a010 to your computer and use it in GitHub Desktop.
Save lenardchristopher/e47782bd841e55c2254c7c202ba8a010 to your computer and use it in GitHub Desktop.
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