Skip to content

feat: add xkcd tutorial steps for v0.2.0 #28

feat: add xkcd tutorial steps for v0.2.0

feat: add xkcd tutorial steps for v0.2.0 #28

name: Build and test XKCDGenerator
on:
pull_request:
branches: [main]
paths:
- "xkcdgenerator/**"
env:
working-directory: "./xkcdgenerator"
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Add wasm32-unknown-unknown
run: rustup target add wasm32-unknown-unknown
- name: Check formatting
run: cargo fmt -- --check
shell: bash
working-directory: ${{ env.working-directory }}
- name: Build actor
run: cargo build
working-directory: ${{ env.working-directory }}
- name: Check lints with clippy
run: |
rustup component add clippy
cargo clippy
working-directory: ${{ env.working-directory }}