Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add GitHub Actions workflow for running Go tests
  • Loading branch information
dido18 committed Jun 10, 2025
commit 0ac9c7fbe201b3e454c36903fce9f7a0db50b6d4
31 changes: 31 additions & 0 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Run Go Tests

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
go-test:
runs-on: ubuntu-latest

steps:
- name: install dependencies
run: |
sudo apt-get update
sudo apt-get install -y android-tools-adb

- name: Checkout code
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.24.1

- name: Get dependencies
run: go mod tidy

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