Skip to content

Commit 1267ff2

Browse files
committed
update
1 parent 7a628f2 commit 1267ff2

File tree

9 files changed

+524
-121
lines changed

9 files changed

+524
-121
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
- name: Set up Rust
17+
uses: dtolnay/rust-toolchain@stable
18+
with:
19+
components: rustfmt, clippy
20+
- name: Run formatting check
21+
run: cargo fmt --check
22+
- name: Run clippy
23+
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
24+
- name: Run tests
25+
run: cargo test -p cargo-pvm-contract

0 commit comments

Comments
 (0)