-
Notifications
You must be signed in to change notification settings - Fork 74
45 lines (39 loc) · 1.05 KB
/
polkadot-archive.yml
File metadata and controls
45 lines (39 loc) · 1.05 KB
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
40
41
42
43
44
45
name: Check Polkadot-Archive
on:
push:
branches:
- master
- release-v[0-9]+.[0-9]+.[0-9]+*
pull_request:
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout Sources
uses: actions/checkout@v3
- name: Install Rust Stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Install Rust Nightly Toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
target: wasm32-unknown-unknown
- name: Cache Dependencies & Build Outputs
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
bin/polkadot-archive/target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Check Code For `polkadot-archive`
uses: actions-rs/cargo@v1
with:
command: check
args: --bin polkadot-archive