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