Skip to content

Merge pull request #37 from fermyon/outbound-http-no-perms #92

Merge pull request #37 from fermyon/outbound-http-no-perms

Merge pull request #37 from fermyon/outbound-http-no-perms #92

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
paths-ignore:
- "*.md"
- "LICENSE"
pull_request:
branches: ["main"]
paths-ignore:
- ".plugin-manifests/**"
- "*.md"
- "LICENSE"
env:
CARGO_TERM_COLOR: always
RUST_VERSION: "1.80"
jobs:
lint-rust:
name: Lint Rust
runs-on: "ubuntu-latest"
steps:
- name: Install Rust toolchain
run: |
rustup toolchain install ${{ env.RUST_VERSION }} --component clippy --component rustfmt
rustup default ${{ env.RUST_VERSION }}
- name: Install Wasm Rust target
run: rustup target add wasm32-wasi && rustup target add wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v2
with:
shared-key: "${{ runner.os }}-full-${{ hashFiles('./Cargo.lock') }}"
- uses: actions/checkout@v4
- name: Cargo Format
run:
cargo fmt --all -- --check
- name: Cargo Clippy
run:
cargo clippy --workspace --all-targets --all-features -- -D warnings