Skip to content

Bump actions/checkout from 5.0.0 to 6.0.0 #677

Bump actions/checkout from 5.0.0 to 6.0.0

Bump actions/checkout from 5.0.0 to 6.0.0 #677

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Add rustfmt and clippy
run: rustup component add rustfmt clippy
- name: Install node dependencies
run: yarn
- name: Expand liquid
run: CI=1 yarn expand-liquid rust
- name: Run cargo fmt
run: cargo fmt --check
- name: Run clippy
run: cargo clippy -- -D warnings
- name: Run tests
run: cargo test
- name: Add wasm32-wasip1 target
run: rustup target add wasm32-wasip1
- name: Build with wasm32-wasip1 target
run: cargo build --release --target wasm32-wasip1