forked from MyFanss/MyFans
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (32 loc) · 960 Bytes
/
Copy pathabi-snapshot.yml
File metadata and controls
39 lines (32 loc) · 960 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: ABI Snapshot
on:
pull_request:
paths:
- "contract/**"
- ".github/workflows/abi-snapshot.yml"
workflow_dispatch:
permissions:
contents: read
jobs:
contracts-abi:
name: ABI Snapshot Check (optional)
runs-on: ubuntu-latest
continue-on-error: true
defaults:
run:
working-directory: contract
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up Rust
uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # stable
with:
targets: wasm32-unknown-unknown
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@42dc69e1aa15d09112580998cf2ef0119e2e91ae # v2
with:
workspaces: contract
- name: Install Stellar CLI
run: cargo install --locked stellar-cli
- name: Check ABI snapshots
run: ./scripts/snapshot-abi.sh --check