Skip to content

Commit

Permalink
Merge pull request #5 from fajarlubis/fajar/dev
Browse files Browse the repository at this point in the history
adding github workflows
  • Loading branch information
fajarlubis authored Sep 26, 2023
2 parents 7f19fbe + 3011b4a commit fcf4f09
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Run Tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:

test:
name: Test
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.20
id: go

- name: Check out code
uses: actions/checkout@v2

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

0 comments on commit fcf4f09

Please sign in to comment.