Skip to content

Add deprecation warning #4212

Add deprecation warning

Add deprecation warning #4212

Workflow file for this run

name: Format
on:
push:
branches:
- main
pull_request:
branches:
- main
- dev
- develop
paths-ignore:
- "specs/**"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
format:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Install rustfmt with nightly toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: rustfmt
- name: Install cargo-license-template
uses: actions-rs/cargo@v1
with:
command: install
args: --force cargo-license-template
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Run cargo-license-template
uses: actions-rs/cargo@v1
with:
command: license-template
args: --template .license_template
- name: nodejs binding fmt check
uses: actions-rs/cargo@v1
with:
command: fmt
args: --manifest-path ./wallet/bindings/nodejs/Cargo.toml --all -- --check
- name: Run cargo-license-template for nodejs bindings
uses: actions-rs/cargo@v1
with:
command: license-template
args: --manifest-path ./wallet/bindings/nodejs/Cargo.toml --template .license_template
- name: python binding fmt check
uses: actions-rs/cargo@v1
with:
command: fmt
args: --manifest-path ./wallet/bindings/python/Cargo.toml --all -- --check
- name: Run cargo-license-template for python bindings
uses: actions-rs/cargo@v1
with:
command: license-template
args: --manifest-path ./wallet/bindings/python/Cargo.toml --template .license_template