From 381523a2bedc50abebf4a8d2b6fbf90e8667285a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Wed, 6 Dec 2023 23:33:34 +0100 Subject: [PATCH] Update test to only run on changed go files --- .gitea/workflows/go-test.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/go-test.yml b/.gitea/workflows/go-test.yml index ebba6c1..190229d 100644 --- a/.gitea/workflows/go-test.yml +++ b/.gitea/workflows/go-test.yml @@ -1,7 +1,11 @@ name: Run go tests on: - - push - - pull_request + push: + paths: + - '**.go' + pull_request: + paths: + - '**.go' env: GOPATH: /go_path