Web Store Minor Logging and Error Handling Improvements for Account Calls #1421
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
push: | |
branches: [main, next] | |
pull_request: | |
types: [opened, repoened, synchronize] | |
jobs: | |
clippy: | |
name: Clippy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: Install Rust with clippy | |
run: | | |
rustup update --no-self-update | |
rustup component add clippy | |
- name: make - clippy | |
run: make clippy | |
clippy-wasm: | |
name: Clippy WASM | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: Install Rust with clippy | |
run: | | |
rustup update --no-self-update | |
rustup target add wasm32-unknown-unknown | |
rustup component add clippy | |
- name: make - clippy-wasm | |
run: make clippy-wasm | |
format: | |
name: format check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: Install Rust with rustfmt | |
run: | | |
rustup update --no-self-update nightly | |
rustup +nightly component add rustfmt | |
- name: Install prettier | |
run: yarn install | |
- name: make - format-check | |
run: make format-check | |
mkdocs: | |
name: build mkdocs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV | |
- uses: actions/cache@v4 | |
with: | |
key: mkdocs-material-${{ env.cache_id }} | |
path: .cache | |
restore-keys: | | |
mkdocs-material- | |
- run: make doc-build | |
rustdocs: | |
name: build rust documentation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: Install Rust | |
run: rustup update --no-self-update | |
- name: make - doc | |
run: make doc |