Skip to content

Commit

Permalink
trigger workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vovacodes committed Nov 10, 2023
1 parent f1eedb0 commit 67dfe55
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-anchor/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ runs:
env:
PROGRAM_ID: ${{ inputs.program_id_replacement }}
run: |
sed -i "" "s/declare_id!(\".*\")/declare_id!(\"${PROGRAM_ID}\")/g" ./programs/${{ inputs.program }}/src/lib.rs
sed -i "s/declare_id!(\".*\")/declare_id!(\"${PROGRAM_ID}\")/g" ./programs/${{ inputs.program }}/src/lib.rs
shell: bash

- name: Build with Anchor
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/check-staging-deployer-balance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
if: contains(github.event.pull_request.labels.*.name, 'deploy-staging')
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Solana
uses: ./.github/actions/setup-solana/

Expand All @@ -39,6 +42,6 @@ jobs:
# Check if the balance is less than the minimum balance using floating point comparison with `bc`
if (( $(echo "$BALANCE < $MIN_BALANCE" | bc -l) )); then
echo "Balance of $PUBLIC_KEY is less than $MIN_BALANCE SOL"
echo "Balance of $PUBLIC_KEY is $BALANCE, which is less than the minimum balance of $MIN_BALANCE"
exit 1
fi
1 change: 1 addition & 0 deletions programs/squads_multisig_program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ default = []
anchor-lang = { version = "=0.29.0", features = ["allow-missing-optionals"] }
anchor-spl = { version="=0.29.0", features=["token"] }
solana-security-txt = "1.1.1"
#

0 comments on commit 67dfe55

Please sign in to comment.