forked from Boomtoknlab/solana-program-library
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: BOOM TOKEN <marinachris112@outlook.com>
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Program Address Verification | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
verify-program-address: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Solana CLI | ||
run: | | ||
sh -c "$(curl -sSfL https://release.solana.com/v1.10.32/install)" | ||
echo "$HOME/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH | ||
solana --version | ||
|
||
- name: Verify Program Address | ||
env: | ||
PROGRAM_ADDRESS: YUB4Lu7zZayKaxC8jaqAMaR6ZBvq9Uuz2Z1NcFesEt1 | ||
run: | | ||
echo "Verifying program address: $PROGRAM_ADDRESS" | ||
# Set the desired Solana cluster URL; adjust if necessary | ||
solana config set --url https://api.mainnet-beta.solana.com | ||
solana program show $PROGRAM_ADDRESS |