From eb58d25fed56f833449d6d9c58e43fe51a3830f0 Mon Sep 17 00:00:00 2001 From: hirokisan Date: Tue, 29 Oct 2024 11:43:30 +0900 Subject: [PATCH] chore(ci): add test --- .github/workflows/ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac64e3e..14c4e50 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,3 +46,20 @@ jobs: cargo install cargo-audit --locked cargo audit --ignore RUSTSEC-2024-0344 --ignore RUSTSEC-2022-0093 + test: + name: Test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@1.79.0 + - uses: Swatinem/rust-cache@v2 + - uses: metadaoproject/setup-anchor@v2 + with: + solana-cli-version: "1.18.18" + anchor-version: "0.30.1" + + - name: create keypair + run: solana-keygen new --no-bip39-passphrase + + - name: run test + run: anchor test