Skip to content

Commit

Permalink
Add CI workflow to run unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Goff <[email protected]>
  • Loading branch information
cpuguy83 committed Jan 18, 2024
1 parent 30fd08f commit 77843b6
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: read


jobs:
unit:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: 1.21
- name: Run tests
run: go test -v ./...

0 comments on commit 77843b6

Please sign in to comment.