test: macros checks of attribute macros usages #611
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: Continuous Integration | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
env: | |
BINARYEN_VERSION: version_111 | |
CARGO_TERM_COLOR: always | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Install wasm-opt | |
run: | | |
sudo wget -c https://github.com/WebAssembly/binaryen/releases/download/$BINARYEN_VERSION/binaryen-$BINARYEN_VERSION-x86_64-linux.tar.gz -O - | sudo tar -xz -C . | |
sudo cp binaryen-$BINARYEN_VERSION/bin/wasm-opt /usr/bin/ | |
- name: Check Code Formatting | |
run: cargo fmt --all --check | |
- name: Check Code With Clippy | |
run: cargo clippy --workspace --all-targets --locked -- -D warnings -A unused-imports | |
- name: Check IDL Parser For WASM With Clippy | |
run: cargo clippy --manifest-path=idl-parser/Cargo.toml --all-targets --locked --target=wasm32-unknown-unknown -- -D warnings | |
- name: Run Tests | |
run: cargo test --workspace --all-targets --locked --no-fail-fast |