Skip to content

Commit

Permalink
Add CI tests
Browse files Browse the repository at this point in the history
Signed-off-by: panic <[email protected]>
  • Loading branch information
paaanic committed Sep 4, 2023
1 parent 5ab8798 commit 267ed6d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Tests

on:
pull_request:
types: ['opened', 'reopened', 'synchronize']

jobs:
go-test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: Run tests
run: go test ./...

0 comments on commit 267ed6d

Please sign in to comment.