Skip to content

Bump rustix from 0.36.8 to 0.36.16 in /runtime/cli (#132) #256

Bump rustix from 0.36.8 to 0.36.16 in /runtime/cli (#132)

Bump rustix from 0.36.8 to 0.36.16 in /runtime/cli (#132) #256

Workflow file for this run

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"