From f5ba0237a77d057b41c17e4c6cc4a61e6310ffa3 Mon Sep 17 00:00:00 2001 From: Alec Thomas Date: Mon, 18 Dec 2023 17:40:01 +1100 Subject: [PATCH] ci: exclude testdata go.mod files --- .github/workflows/ci.yml | 4 ++-- extensions/javascript/go.sum | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82dfe52..726d5c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v4 - uses: cashapp/activate-hermit@v1 - run: | - find . -name go.mod | xargs -n1 dirname | while read dir; do ( + find . -name go.mod | grep -v /testdata | xargs -n1 dirname | while read dir; do ( cd "$dir" go mod tidy go test -v ./... @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v4 - uses: cashapp/activate-hermit@v1 - run: | - find . -name go.mod | xargs -n1 dirname | while read dir; do ( + find . -name go.mod | grep -v /testdata | xargs -n1 dirname | while read dir; do ( cd "$dir" go mod tidy golangci-lint run diff --git a/extensions/javascript/go.sum b/extensions/javascript/go.sum index daf56ce..c88f533 100644 --- a/extensions/javascript/go.sum +++ b/extensions/javascript/go.sum @@ -1,3 +1,5 @@ +github.com/TBD54566975/scaffolder v0.7.1 h1:uZ/1qTa+j8dQR5HCNOxONrex3a5arwMuFQko0OeWXTw= +github.com/TBD54566975/scaffolder v0.7.1/go.mod h1:Ab/jbQ4q8EloYL0nbkdh2DVvkGc4nxr1OcIbdMpTxxg= github.com/alecthomas/assert/v2 v2.4.1 h1:mwPZod/d35nlaCppr6sFP0rbCL05WH9fIo7lvsf47zo= github.com/alecthomas/assert/v2 v2.4.1/go.mod h1:fw5suVxB+wfYJ3291t0hRTqtGzFYdSwstnRQdaQx2DM= github.com/alecthomas/repr v0.3.0 h1:NeYzUPfjjlqHY4KtzgKJiWd6sVq2eNUPTi34PiFGjY8=