Skip to content

Commit

Permalink
update anchor action, root Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
heyAyushh committed Dec 28, 2024
1 parent 777d36b commit 963fb0c
Show file tree
Hide file tree
Showing 3 changed files with 400 additions and 25 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/anchor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
# Check Cargo.lock version before build
if [ -f "Cargo.lock" ]; then
echo "Checking Cargo.lock version for $project"
grep "^version = " Cargo.lock
grep "^version = " Cargo.lock | head -n1
else
echo "No Cargo.lock found for $project"
fi
Expand All @@ -143,7 +143,7 @@ jobs:
# Check Cargo.lock version after failed build
if [ -f "Cargo.lock" ]; then
echo "Cargo.lock version after failed build:"
grep "^version = " Cargo.lock
grep "^version = " Cargo.lock | head -n1
fi
echo "$project: anchor build failed" >> $GITHUB_WORKSPACE/failed_projects.txt
Expand Down
Loading

0 comments on commit 963fb0c

Please sign in to comment.