Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/deploy-programs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- liquidation
- mint_governor
- performance_package_v2
- gated_mint
priority-fee:
description: "Priority fee in microlamports"
required: true
Expand Down Expand Up @@ -212,6 +213,25 @@
use-squads: true
features: "production"
priority-fee: ${{ inputs.priority-fee }}
secrets:
MAINNET_SOLANA_DEPLOY_URL: ${{ secrets.MAINNET_SOLANA_DEPLOY_URL }}
MAINNET_DEPLOYER_KEYPAIR: ${{ secrets.MAINNET_DEPLOYER_KEYPAIR }}
MAINNET_MULTISIG: ${{ secrets.MAINNET_MULTISIG }}
MAINNET_MULTISIG_VAULT: ${{ secrets.MAINNET_MULTISIG_VAULT }}

gated-mint:
if: inputs.program == 'gated_mint'
uses: ./.github/workflows/reusable-build.yaml
with:
program: "gated_mint"
override-program-id: "GaTEjZy6eMdHg2BcL8dk3iE78jkJ9sPtyw1q2tMNi8PA"

Check warning on line 227 in .github/workflows/deploy-programs.yaml

View workflow job for this annotation

GitHub Actions / repository-guard

Hardcoded Solana address literal: + override-program-id: "GaTEjZy6eMdHg2BcL8dk3iE78jkJ9sPtyw1q2tMNi8PA"
network: "mainnet"
deploy: true
upload_idl: true
verify: true
use-squads: true
features: "production"
priority-fee: ${{ inputs.priority-fee }}
secrets:
MAINNET_SOLANA_DEPLOY_URL: ${{ secrets.MAINNET_SOLANA_DEPLOY_URL }}
MAINNET_DEPLOYER_KEYPAIR: ${{ secrets.MAINNET_DEPLOYER_KEYPAIR }}
Expand Down
19 changes: 18 additions & 1 deletion .github/workflows/generate-verifiable-builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,4 +184,21 @@ jobs:
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9.1.4
with:
default_author: github_actions
message: 'Update launchpad_v8 verifiable build'
message: 'Update launchpad_v8 verifiable build'
generate-verifiable-gated-mint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: metadaoproject/anchor-verifiable-build@6d8fc1999ea4b7ff701e8b166903b398741e1c50 # v0.4
with:
program: gated_mint
anchor-version: '0.29.0'
solana-cli-version: '1.17.31'
features: 'production'
- run: 'git pull --rebase'
- run: cp target/deploy/gated_mint.so ./verifiable-builds
- name: Commit verifiable build back to mainline
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9.1.4
with:
default_author: github_actions
message: 'Update gated_mint verifiable build'
Loading