Skip to content

Commit

Permalink
adding github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
fajarlubis committed Sep 26, 2023
1 parent d9924bb commit ecd6bcf
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: ci-test

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 ecd6bcf

Please sign in to comment.