Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Bump to amplify-4.0.0 #47

Bump to amplify-4.0.0

Bump to amplify-4.0.0 #47

Workflow file for this run

name: Lints
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install rustc nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
name: Formatting blockchain
with:
command: fmt
args: -p bitcoin_blockchain -- --check
- uses: actions-rs/cargo@v1
name: Formatting scripts
with:
command: fmt
args: -p bitcoin_scripts -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install rustc stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: clippy
- uses: actions-rs/cargo@v1
name: Clippy
with:
command: clippy
args: --workspace --all-features
doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install rustc nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rust-docs
- uses: actions-rs/cargo@v1
name: Clippy
with:
command: doc
args: --workspace --all-features