Skip to content

Commit

Permalink
create github workflow for test
Browse files Browse the repository at this point in the history
  • Loading branch information
shuhanmirza committed Apr 27, 2023
1 parent 62ff76e commit 02684d9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: go-test

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:

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

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '^1.20'

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

0 comments on commit 02684d9

Please sign in to comment.