Skip to content

Conversation

@eamag
Copy link
Owner

@eamag eamag commented Jun 1, 2025

…build and test your Anchor program.

The workflow includes the following steps:

  • Triggers on push to main and pull requests targeting main.
  • Checks out code.
  • Installs Solana.
  • Installs Anchor CLI.
  • Sets up Node.js.
  • Caches Cargo dependencies (~/.cargo/registry, ~/.cargo/git) to speed up Anchor installation.
  • Caches Node.js modules (chain/tra-bounty/node_modules) to speed up dependency installation.
  • Installs project dependencies in chain/tra-bounty.
  • Builds the Anchor program (anchor build in chain/tra-bounty).
  • Runs Anchor tests (anchor test in chain/tra-bounty).

This will help ensure code integrity and catch issues early.

…build and test your Anchor program.

The workflow includes the following steps:
- Triggers on push to `main` and pull requests targeting `main`.
- Checks out code.
- Installs Solana.
- Installs Anchor CLI.
- Sets up Node.js.
- Caches Cargo dependencies (`~/.cargo/registry`, `~/.cargo/git`) to speed up Anchor installation.
- Caches Node.js modules (`chain/tra-bounty/node_modules`) to speed up dependency installation.
- Installs project dependencies in `chain/tra-bounty`.
- Builds the Anchor program (`anchor build` in `chain/tra-bounty`).
- Runs Anchor tests (`anchor test` in `chain/tra-bounty`).

This will help ensure code integrity and catch issues early.
@eamag eamag closed this Jun 1, 2025
@eamag eamag deleted the feat/ci-github-actions branch June 1, 2025 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants