extract pinocchio-cpi crate #340
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
env: | |
CACHE: true | |
jobs: | |
sanity: | |
name: Process Workspace | |
runs-on: ubuntu-latest | |
outputs: | |
members: ${{ steps.filter.outputs.members }} | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: Setup Environment | |
uses: ./.github/actions/setup | |
with: | |
cargo-cache-key: cargo-audit | |
components: audit | |
- name: cargo-audit | |
run: pnpm audit | |
- name: Filter members | |
id: filter | |
run: pnpm tsx ./scripts/setup/members.mts | |
process: | |
name: Check | |
needs: sanity | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
member: ${{ fromJson(needs.sanity.outputs.members) }} | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Environment | |
uses: ./.github/actions/setup | |
with: | |
cargo-cache-key: cargo-${{ matrix.member }} | |
toolchain: build, format, lint, test | |
components: hack | |
solana: true | |
- name: fmt | |
run: pnpm format ${{ matrix.member }} | |
- name: clippy | |
run: pnpm clippy ${{ matrix.member }} | |
- name: cargo-doc | |
run: pnpm doc ${{ matrix.member }} | |
- name: cargo-hack | |
run: pnpm hack ${{ matrix.member }} | |
- name: build-sbf | |
run: pnpm build-sbf ${{ matrix.member }} | |
- name: test | |
run: pnpm test ${{ matrix.member }} |