Merge pull request #118 from tweedegolf/c-compilation #187
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: checks | |
permissions: | |
contents: read | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches-ignore: | |
- 'release/**' | |
merge_group: | |
branches: | |
- main | |
workflow_call: {} | |
jobs: | |
check: | |
name: "Check everything still builds" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
- name: Install mdbook | |
run: | | |
wget --no-verbose "https://github.com/rust-lang/mdBook/releases/download/v0.4.40/mdbook-v0.4.40-x86_64-unknown-linux-gnu.tar.gz" | |
tar -xzf mdbook-v0.4.40-x86_64-unknown-linux-gnu.tar.gz | |
sudo mv mdbook /usr/bin/ | |
- name: Run checks | |
run: ./check.sh | |
- name: Build book and slides | |
run: ./build-all.sh ${{github.event.repository.name}} |