Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions .github/workflows/unit.yml → .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go-version:
- "1.22"

steps:
- name: Checkout source
uses: actions/checkout@v5

- name: Setup Go ${{ matrix.go-version }}
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
go-version: "1"

- name: Run linters
run: |
make lint

- name: Run unit tests
run: |
make unit
17 changes: 17 additions & 0 deletions .github/workflows/unit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Unit Testing
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v5

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'

- name: Run unit tests
run: |
make unit
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
undefine GOFLAGS

GOLANGCI_LINT_VERSION?=v2.1.6
GOTESTSUM_VERSION?=v1.12.2
GOLANGCI_LINT_VERSION?=v2.5.0
GOTESTSUM_VERSION?=v1.13.0
GO_TEST?=go run gotest.tools/gotestsum@$(GOTESTSUM_VERSION) --format testname --
TIMEOUT := "60m"

Expand Down
Loading