Bump rustix from 0.36.9 to 0.36.16 in /runtime/wasm-bpf-rs (#134) #254
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: Rust | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: install deps | |
run: | | |
sudo make install-deps | |
make /opt/wasi-sdk | |
make tinygo | |
- name: Cache rust | |
uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: runtime | |
- name: Build | |
run: make build-rust | |
- name: test wasm-bpf-rs | |
run: cd runtime/wasm-bpf-rs && make test | |
- name: Upload analysis results to GitHub | |
uses: github/codeql-action/upload-sarif@v2 | |
if: github.repository_owner == 'eunomia-bpf' | |
with: | |
sarif_file: runtime/wasm-bpf-rs/rust-clippy-results.sarif | |
wait-for-processing: true | |
- name: Code coverage using Codecov | |
if: github.repository_owner == 'eunomia-bpf' | |
run: bash <(curl -s https://codecov.io/bash) | |
- name: examples with rust runtime | |
run: IMPL=rust make -C examples | |
- name: Upload build result | |
uses: actions/[email protected] | |
if: github.repository_owner == 'eunomia-bpf' | |
with: | |
path: "wasm-bpf-rs" |