fix: ensure binary and checksum artifacts are downloaded for release #284
This file contains hidden or 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: Decapod Validate | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache Decapod | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cargo/bin/decapod | |
| key: ${{ runner.os }}-decapod | |
| - name: Install Decapod | |
| run: | | |
| if ! command -v decapod &> /dev/null; then | |
| cargo install decapod | |
| fi | |
| - name: Decapod Validate | |
| env: | |
| DECAPOD_VALIDATE_SKIP_GIT_GATES: 1 | |
| run: | | |
| decapod init --proof | |
| decapod validate |