Skip to content

Commit

Permalink
feat: add github ci test job
Browse files Browse the repository at this point in the history
  • Loading branch information
AMK9978 committed Nov 7, 2024
1 parent 88140f6 commit 98f81e6
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Go CI

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

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23'

- name: Install dependencies
run: go mod download

- name: Run tests
run: go test ./... -v

0 comments on commit 98f81e6

Please sign in to comment.