mirror of
https://github.com/abhinavxd/libredesk.git
synced 2025-10-23 05:11:57 +00:00
feat: add GitHub Actions workflow to run Go tests
This commit is contained in:
22
.github/workflows/.go.yml
vendored
Normal file
22
.github/workflows/.go.yml
vendored
Normal 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
|
Reference in New Issue
Block a user