Skip to content

Commit

Permalink
Run Go tests via GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuens committed Jun 27, 2024
1 parent eba2b49 commit eee194a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Run Go tests in GitHub Actions

on:
push:
branches: [master]
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
- name: Build
run: go build -v ./...
- name: Test with the Go CLI
run: go test ./...

0 comments on commit eee194a

Please sign in to comment.