Skip to content

Fix project warnings #12

Fix project warnings

Fix project warnings #12

Workflow file for this run

name: CI checks
on:
pull_request:
push:
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
target: wasm32-unknown-unknown
- uses: actions-rs/cargo@v1
with:
command: doc
args: --no-deps
- name: Uploading build artifact
uses: actions/upload-artifact@v3
with:
name: docs
path: target/wasm32-unknown-unknown/doc
if-no-files-found: ignore
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
if: ${{ github.ref == 'refs/heads/main' }}
with:
branch: gh-pages
folder: target/wasm32-unknown-unknown/doc
git-config-name: GitHub Actions
git-config-email: github-actions[bot]@users.noreply.github.com
commit-message: Update documentation
single-commit: true
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
target: wasm32-unknown-unknown
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}