Skip to content

Commit 281281f

Browse files
committed
github action error, No space left on device
1 parent 321b42a commit 281281f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/anchor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ jobs:
5555
"basics/rent/anchor"
5656
"basics/repository-layout/anchor"
5757
"basics/transfer-sol/anchor"
58-
"tokens/token-swap/anchor"
5958
"tokens/token-2022/basics/anchor"
6059
"tokens/token-2022/cpi-guard/anchor"
6160
"tokens/token-2022/default-account-state/anchor"
@@ -82,6 +81,7 @@ jobs:
8281
cd $projectDir
8382
if anchor build; then
8483
echo "Build succeeded for $projectDir."
84+
rm -rf target
8585
else
8686
failed=true
8787
failed_builds+=($projectDir)
@@ -136,7 +136,6 @@ jobs:
136136
"basics/rent/anchor"
137137
"basics/repository-layout/anchor"
138138
"basics/transfer-sol/anchor"
139-
"tokens/token-swap/anchor"
140139
"tokens/token-2022/basics/anchor"
141140
"tokens/token-2022/cpi-guard/anchor"
142141
"tokens/token-2022/default-account-state/anchor"
@@ -164,6 +163,7 @@ jobs:
164163
pnpm install --frozen-lockfile
165164
if anchor test; then
166165
echo "Tests succeeded for $projectDir."
166+
rm -rf node_modules
167167
else
168168
failed=true
169169
failed_tests+=($projectDir)

0 commit comments

Comments
 (0)