Skip to content

Commit

Permalink
ci: exclude testdata go.mod files
Browse files Browse the repository at this point in the history
  • Loading branch information
alecthomas committed Dec 18, 2023
1 parent afc4281 commit f5ba023
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./...
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions extensions/javascript/go.sum
Original file line number Diff line number Diff line change
@@ -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=
Expand Down

0 comments on commit f5ba023

Please sign in to comment.