Skip to content

Implement DOOM INDEX NFT Contract V1 #5

Implement DOOM INDEX NFT Contract V1

Implement DOOM INDEX NFT Contract V1 #5

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
checks:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.10
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Install Solana CLI
run: |
sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)"
echo "$HOME/.local/share/solana/install/active_release/bin" >> "$GITHUB_PATH"
- name: Cache Rust
uses: Swatinem/rust-cache@v2
- name: Install JavaScript dependencies
run: bun install --frozen-lockfile
- name: Check TypeScript formatting
run: bun run format:ts:check
- name: Check Rust formatting
run: cargo fmt --all --check
- name: Run Clippy
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
- name: Run tests
run: bun run test