Skip to content

Pin dependencies (main) #239

Pin dependencies (main)

Pin dependencies (main) #239

Workflow file for this run

name: Build and Test Rust
on:
pull_request:
branches:
- main
- dev
push:
branches:
- main
- dev
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Install Rust toolchain
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1
with:
toolchain: 1.59
target: wasm32-wasi
components: rustfmt, clippy
- name: Run cargo clippy
uses: actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d # v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
- uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1
with:
command: build
args: --release --all-features