Skip to content

Commit 364b334

Browse files
committed
build: Create Makefile test target
Signed-off-by: Paulo Gomes <[email protected]>
1 parent b45cc30 commit 364b334

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Install libpcsc
2121
run: sudo apt-get install -y libpcsclite-dev pcscd pcsc-tools
2222
- name: Test
23-
run: "go test -C v2 ./..."
23+
run: make test
2424

2525
build-windows:
2626
name: Windows
@@ -35,6 +35,6 @@ jobs:
3535
with:
3636
go-version: stable
3737
- name: Test
38-
run: "go build -C v2 ./..."
38+
run: make test
3939
env:
4040
CGO_ENABLED: 0

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
test:
2+
go build ./...

0 commit comments

Comments
 (0)