name lint and test and add go get path

This commit is contained in:
2024-12-22 22:06:38 +01:00
parent d0f80818b0
commit 9da42c62cd
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
name: Go Lint
on:
pull_request:
paths:
@@ -18,3 +20,4 @@ jobs:
uses: golangci/golangci-lint-action@v4
with:
version: latest
working-directory: .

View File

@@ -1,3 +1,5 @@
name: Go Test
on:
pull_request:
paths:
@@ -19,7 +21,7 @@ jobs:
- name: Install dependencies
run: |
go get
go get ...
- name: Run tests
run: |