1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-27 08:15:40 +02:00
Martin Geisler 11789caee2 Add a build workflow to test PRs
We will expand this to build/test other things in the future.
2022-12-22 15:22:41 +01:00

27 lines
458 B
YAML

name: Build and Test
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
- name: Install mdbook
run: cargo install mdbook
- name: Install mdbook-svgbob
run: cargo install mdbook-svgbob
- name: Test code snippets
run: mdbook test