Last active
September 5, 2021 12:33
-
-
Save lenardchristopher/e47782bd841e55c2254c7c202ba8a010 to your computer and use it in GitHub Desktop.
Github Action Golang Unit Testing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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