Skip to content

Commit

Permalink
Add GitHub Actions CI Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ctjnkns committed Jan 6, 2024
1 parent f60cd30 commit d20c0ac
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: tests

on:
pull_request:
branches:
- "*"

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20"

- name: Prepare dependencies
run: |
go mod download
- name: Test code
run: |
go test -race ./...

0 comments on commit d20c0ac

Please sign in to comment.