Skip to content

Commit

Permalink
Test GH Action
Browse files Browse the repository at this point in the history
  • Loading branch information
hashedone committed Feb 22, 2024
1 parent 9c7bf59 commit 8542890
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Verify
on:
push:
pull_request:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install mdbook
run: |
mkdir mdbook
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.14/mdbook-v0.4.14-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
echo `pwd`/mdbook >> $GITHUB_PATH
- name: Update dependencies
run: sudo apt update && sudo apt upgrade -y
- name: Install plantuml
run: sudo apt-get install plantuml
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install mdbook-plantuml
uses: actions-rs/cargo@v1
with:
command: install
args: mdbook-plantuml
- name: Test build
run: mdbook build

1 change: 1 addition & 0 deletions src/section-4-best-practices
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Section:4 Best Practices

0 comments on commit 8542890

Please sign in to comment.