Skip to content

Commit

Permalink
Merge pull request #21 from bagastri07/feature/BAN-15006-github-actio…
Browse files Browse the repository at this point in the history
…n-for-run-unit-test

feature: add GitHub action for run unit test
  • Loading branch information
aslamhadi authored Dec 14, 2022
2 parents b54d146 + a8fba19 commit 1429c2f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Go

on: [ pull_request ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18

- name: Test
run: go test -v ./...

- name: Build
run: go build -v ./...

0 comments on commit 1429c2f

Please sign in to comment.