Skip to content

Commit

Permalink
Add a github action job that runs unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ystros committed Sep 12, 2023
1 parent bdfe39d commit d1a3700
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,18 @@ jobs:
if: ${{ matrix.os != 'windows-2019' }}
with:
args: --enable goimports

test_unit:
strategy:
matrix:
os: [windows-2019, ubuntu-latest]
name: lint
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: Run unit tests
run: |
make test

0 comments on commit d1a3700

Please sign in to comment.