Skip to content

refactor less likely to overflow #5

refactor less likely to overflow

refactor less likely to overflow #5

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
doc:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- name: Run doc
run: cargo doc --no-deps
- name: Deploy
uses: actions/upload-pages-artifact@v1
with:
path: target/doc
deploy:
needs: doc
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1