Skip to content

chore: bump wgpu from 25.0.2 to 29.0.3 #294

chore: bump wgpu from 25.0.2 to 29.0.3

chore: bump wgpu from 25.0.2 to 29.0.3 #294

Workflow file for this run

name: CI
on:
workflow_call:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- "**/Makefile.toml"
- "release.toml"
- "LICENSE*"
- "**/*.md"
- "**/*.nix"
tags-ignore:
- "**"
pull_request:
branches:
- main
- dev
paths-ignore:
- "**/Makefile.toml"
- "release.toml"
- "LICENSE*"
- "**/*.md"
- "**/*.nix"
jobs:
# Cheap sanity check that runs on every push to main and on PRs.
# Avoids the heavy clippy matrix on each merge — that one is PR-only.
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- uses: dsherret/rust-toolchain-file@v1
- name: Run cargo check
uses: actions-rs/cargo@v1.0.1
with:
command: check
args: --workspace --all-targets
# Full clippy on every supported host. PR-only so pushes to main don't
# burn three runners per merge.
clippy_check:
name: Clippy
if: github.event_name == 'pull_request'
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- uses: dsherret/rust-toolchain-file@v1
- name: Run clippy
uses: actions-rs/cargo@v1.0.1
with:
command: clippy
args: -- -D warnings
# Format check. PR-only — once the merge landed `cargo fmt` was already
# green; rerunning on main adds no signal.
format:
name: Format
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- uses: dsherret/rust-toolchain-file@v1
- name: Run cargo fmt
uses: actions-rs/cargo@v1.0.1
with:
command: fmt
args: --all -- --check