Skip to content

Merge pull request #44 from ZitaneLabs/task/update-web-deps-101023 #18

Merge pull request #44 from ZitaneLabs/task/update-web-deps-101023

Merge pull request #44 from ZitaneLabs/task/update-web-deps-101023 #18

Workflow file for this run

name: api
on:
pull_request:
push:
branches:
- development
- production
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
RUSTUP_MAX_RETRIES: 10
RUST_BACKTRACE: short
RUSTDOCFLAGS: -D warnings
jobs:
rustfmt:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- run: rustup toolchain install nightly --profile minimal
- run: rustup component add --toolchain nightly rustfmt
- run: cargo +nightly fmt --all --check
clippy:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- run: rustup toolchain install stable --profile minimal
- run: rustup component add clippy
- name: cargo clippy
run: cargo clippy
deny:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: EmbarkStudios/cargo-deny-action@v1