Skip to content

Commit

Permalink
Fix builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ChewingGlass committed Jan 17, 2025
1 parent cd332cd commit 2c8076b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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 @@ -35,7 +35,7 @@ runs:
with:
path: |
./solana-programs/target/
key: build-${{ runner.os }}-${{env.ANCHOR_VERSION}}-${{env.ANCHOR_SHA}}-v0002-${{ inputs.devnet }}-${{ inputs.testing }}-${{ hashFiles('./programs/**/**') }}-${{ inputs.program }}
key: build-${{ runner.os }}-${{env.ANCHOR_VERSION}}-${{env.ANCHOR_SHA}}-v0003-${{ inputs.devnet }}-${{ inputs.testing }}-${{ hashFiles('./solana-programs/programs/**/**') }}-${{ inputs.program }}
- run: ${{ inputs.testing == 'true' && 'TESTING=true' || '' }} ~/.cargo/bin/anchor build ${{ (inputs.program != '' && '-p') || '' }} ${{ inputs.program || '' }} ${{ inputs.devnet == 'true' && '-- --features devnet' || '' }}
if: steps.cache-anchor-build.outputs.cache-hit != 'true'
shell: bash
Expand Down
6 changes: 3 additions & 3 deletions tuktuk-cli/src/cmd/cron.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ impl CronCmd {
async fn requeue_cron_job_ix(client: &CliClient, cron_job_key: &Pubkey) -> Result<Instruction> {
let cron_job: CronJobV0 = client
.rpc_client
.anchor_account(&cron_job_key)
.anchor_account(cron_job_key)
.await?
.ok_or_else(|| anyhow::anyhow!("Cron job not found: {}", cron_job_key))?;
let task_queue: TaskQueueV0 = client
Expand Down Expand Up @@ -150,10 +150,10 @@ impl CronCmd {
cron_job: *cron_job_key,
task_queue: cron_job.task_queue,
task_return_account_1: tuktuk::cron::task_return_account_1_key(
&cron_job_key,
cron_job_key,
),
task_return_account_2: tuktuk::cron::task_return_account_1_key(
&cron_job_key,
cron_job_key,
),
system_program: solana_sdk::system_program::ID,
}
Expand Down

0 comments on commit 2c8076b

Please sign in to comment.