Revert "chore: Expect Merkle/witness CAR files to be always present (… #1750
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: anchor-contract-pipeline | |
on: | |
push: | |
branches: [ '**' ] | |
paths-ignore: | |
- '.github/**' | |
- 'auth/**' | |
workflow_dispatch: # manually triggered | |
env: | |
FOUNDRY_PROFILE: ci | |
jobs: | |
check: | |
strategy: | |
fail-fast: true | |
name: Anchor Contract Pipeline | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Install Contract Dependencies | |
run: | | |
npm run installContractDeps | |
id: dependencies | |
- name: Build Anchor Contracts | |
run: | | |
npm run buildContract | |
id: build | |
- name: Run Anchor Contract Tests | |
run: | | |
npm run testContract | |
id: test |