From 070c9616a616b0e2df8e5d80c9e9d5908f3049b3 Mon Sep 17 00:00:00 2001 From: Ian Molee Date: Mon, 8 Apr 2024 18:24:21 -0700 Subject: [PATCH] Add build and tests to Github Actions --- .github/workflows/golangci-lint.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 8e68915..fccefe7 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -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