Skip to content

Commit

Permalink
Create doc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
supernovahs authored May 3, 2024
1 parent d985068 commit d3e95d1
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: docs

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]


jobs:
build_docs:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Generate documentation
run: cargo doc
- name: Upload documentation
uses: actions/upload-artifact@v3

0 comments on commit d3e95d1

Please sign in to comment.