From 38750b0881d39ffb1e5ac06088b58bf98d1933a7 Mon Sep 17 00:00:00 2001 From: Seth Hoenig Date: Thu, 26 Dec 2024 08:14:03 -0600 Subject: [PATCH] ci: fix justfile scripts references and set tests timeout --- .github/workflows/ci.yaml | 1 + Justfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fe0f0af..3b849fc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,6 +19,7 @@ jobs: copywrite --config .github/workflows/scripts/copywrite.hcl \ headers --spdx "BSD-3-Clause" --plan run-tests: + timeout-minutes: 5 runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 diff --git a/Justfile b/Justfile index c76f497..52308d9 100644 --- a/Justfile +++ b/Justfile @@ -33,7 +33,7 @@ vet: # apply golangci-lint linters on source tree [group('lint')] lint: vet - $GOBIN/golangci-lint run --config .github/workflows/scripts/golangci.yaml + $GOBIN/golangci-lint run --config {{scripts}}/golangci.yaml # show host system information [group('build')]