update wasmer; mem.grow compile time limits checks #187
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: Builds and tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
rust_test: | |
name: Rust tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install rust | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
toolchain: "1.77" | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
default: true | |
toolchain: stable | |
- name: Run rust tests | |
run: cargo test | |
clippy_check: | |
permissions: write-all | |
name: Clippy linter check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install rust | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
toolchain: "1.77" | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
components: clippy | |
default: true | |
- uses: actions-rs/clippy-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --all-features |