Skip to content

Commit 32ee2a5

Browse files
committed
continous integration for substrate fork
1 parent 829edac commit 32ee2a5

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/mangata-dev.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
on:
2+
pull_request:
3+
branches:
4+
- mangata-dev
5+
push:
6+
branches: [ mangata-dev ]
7+
8+
name: build
9+
10+
jobs:
11+
check:
12+
name: Rust project
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Install newset Cargo
17+
uses: actions-rs/toolchain@v1
18+
with:
19+
toolchain: nightly
20+
default: true
21+
- name: Install nightly-2020-10-01 with wasm
22+
uses: actions-rs/toolchain@v1
23+
with:
24+
toolchain: nightly-2020-10-01
25+
target: wasm32-unknown-unknown
26+
- name: Check Cargo version
27+
run: |
28+
cargo --version
29+
- name: Run cargo check
30+
uses: actions-rs/cargo@v1
31+
with:
32+
toolchain: nightly-x86_64-unknown-linux-gnu
33+
command: check
34+
- name: Test cargo check
35+
uses: actions-rs/cargo@v1
36+
with:
37+
toolchain: nightly-x86_64-unknown-linux-gnu
38+
command: test

0 commit comments

Comments
 (0)