Feature/LibHttp #142
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: Pull Request | |
on: | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
name: Test Suite | |
runs-on: ubuntu-latest | |
env: | |
CARGO_REGISTRY_TOKEN: ${{secrets.CARGO_REGISTRY_TOKEN}} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
targets: x86_64-unknown-linux-gnu | |
- run: git checkout -B pr_check | |
- run: rustup component add clippy | |
- run: cargo install cargo-release | |
- run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | |
- run: cargo test --verbose -- --nocapture | |
- run: wasm-pack test --headless --firefox ./adana-script-wasm | |
- run: wasm-pack test --headless --chrome ./adana-script-wasm | |
- run: cargo clippy --all-targets --all-features -- -D warnings | |
- run: cargo release --no-publish --no-tag --allow-branch pr_check --no-push --dependent-version upgrade minor | |
#- run: cargo publish --dry-run |