Add build and tests to Github Actions

This commit is contained in:
Ian Molee 2024-04-08 18:24:21 -07:00
parent 3e3ae58aa2
commit 070c9616a6
1 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
name: golangci-lint
name: lint-build-test
on:
push:
branches:
@ -9,8 +9,8 @@ permissions:
contents: read
jobs:
golangci:
name: lint
lint-build-test:
name: lint-build-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@ -22,3 +22,7 @@ jobs:
uses: golangci/golangci-lint-action@v4
with:
version: latest
- name: build
run: go build -v ./...
- name: Run tests
run: go test