Skip to content

Change name from Sc2CsVisitor to ModelBuilder and module from cs_buil… #25

Change name from Sc2CsVisitor to ModelBuilder and module from cs_buil…

Change name from Sc2CsVisitor to ModelBuilder and module from cs_buil… #25

Workflow file for this run

name: Rust
permissions:
contents: write
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose --workspace
docs-build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Install and Build 🔧
run: |
cargo doc --no-deps --workspace
echo "<meta http-equiv=\"refresh\" content=\"0; url=scan\">" > target/doc/index.html
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs # The folder the action should deploy.