diff options
| author | RanXom <saiyedshizain@gmail.com> | 2026-07-13 02:22:27 +0530 |
|---|---|---|
| committer | RanXom <saiyedshizain@gmail.com> | 2026-07-13 02:22:27 +0530 |
| commit | 03fc7104cda409f1a4192d87c6756980f7add611 (patch) | |
| tree | 0d2602738613aac10d98c66bc4ad56bebcc4233e /.github/workflows | |
| parent | 9cd148b0fcc711edcac8c6becf8ea3cd31c871eb (diff) | |
| download | galleryd-03fc7104cda409f1a4192d87c6756980f7add611.tar.xz galleryd-03fc7104cda409f1a4192d87c6756980f7add611.zip | |
ci: add github actionsfeat/github-actions
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/test.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..f12a80b --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,29 @@ +name: Go Tests + +on: + push: + branches: + - main + - feat/** + pull_request: + branches: + - main + +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-file: go.mod + + - name: Download dependencies + run: go mod download + + - name: Run tests + run: go test -v ./... |