mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 11:07:56 +00:00
194c7bcf2f
* Add missing license headers and add CI check * Remove log line * Remove stale todos
30 lines
464 B
YAML
30 lines
464 B
YAML
name: Rust
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: setup
|
|
run: |
|
|
rustup install nightly
|
|
rustup component add rustfmt --toolchain nightly
|
|
|
|
- name: fmt
|
|
run: cargo +nightly fmt --all -- --check
|
|
|
|
- name: build
|
|
run: cargo build --verbose
|
|
|
|
- name: test
|
|
run: cargo test --verbose
|