Add build and tests to Github Actions
This commit is contained in:
parent
3e3ae58aa2
commit
070c9616a6
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue