Skip to content

Workflow file for this run

name: Update README
on:
push:
branches: [ master ]
jobs:
readme:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
default: true
override: true
- uses: Swatinem/rust-cache@v1
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Run tests
run: cargo test --package yarge-testbench --no-fail-fast --quiet --lib -- -Z unstable-options --format json > _test_result.json
continue-on-error: true
timeout-minutes: 10
- name: Update README
run: node readme-gen.mjs --input-type=module
- name: Add & Commit
uses: EndBug/add-and-commit@v9.1.0
with:
add: 'README.md'