Skip to content

Commit

Permalink
GitHub Actions: add test workflow (copied from protobuf repo)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 715685601
Change-Id: I2bff7c1e3a4f22f42bb8ad73f2264646c308caaf
  • Loading branch information
stapelberg authored and copybara-github committed Jan 15, 2025
1 parent 02172b2 commit 1508cce
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on: [push, pull_request]
name: Test
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
# Latest stable version of Go, e.g. 1.23.4
go-version: 'stable'
- name: Test
run: go test -v ./...

0 comments on commit 1508cce

Please sign in to comment.