-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (35 loc) · 1001 Bytes
/
readme.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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/[email protected]
with:
add: 'README.md'