feat: add GitHub Actions workflow to run Go tests

This commit is contained in:
Abhinav Raut
2025-03-25 23:43:43 +05:30
parent 56f00e791e
commit 5afec04c07

22
.github/workflows/.go.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Go
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21.x"
- name: Install dependencies
run: go get -v ./...
- name: Run tests
run: make test