Skip to content

build(deps): bump anyhow from 1.0.92 to 1.0.93 #584

build(deps): bump anyhow from 1.0.92 to 1.0.93

build(deps): bump anyhow from 1.0.92 to 1.0.93 #584

Workflow file for this run

name: codegen
on:
push:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
jobs:
update-readme:
strategy:
matrix:
os: [ubuntu-latest]
node: [22]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Generate stuff
run: cargo run --package mdsf-codegen
# A second run is needed until the readme generation is decoupled from the json-schema
- run: cargo run --package mdsf-codegen
- name: Format stuff
run: npx prettier@latest --write schemas mdsf.json README.md && cargo run -- format README.md
- uses: EndBug/add-and-commit@v9
with:
add: schemas mdsf.json README.md
message: "chore: updated generated code"