Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjamenMeyer committed Dec 5, 2022
1 parent 98d40c2 commit 1e674ef
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.go text eof=lf
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Unit Tests
on: [pull_request]
jobs:
unittest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Golang
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Tests
run: make test
linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Golang
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Golint
uses: golangci/golangci-linter@v3
with:
version: latest

0 comments on commit 1e674ef

Please sign in to comment.