Skip to content

Splits OnObtainGhostCloth, OnObtainGhostVespa #361

Splits OnObtainGhostCloth, OnObtainGhostVespa

Splits OnObtainGhostCloth, OnObtainGhostVespa #361

Workflow file for this run

name: Build
on:
pull_request:
push:
branches:
- 'master'
tags:
- '*'
permissions:
contents: write
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout Commit
uses: actions/checkout@v3
- name: Install Rust
uses: hecrj/setup-rust-action@v1
with:
rust-version: stable
targets: wasm32-wasi
- name: Build
run: |
cargo release --locked
- name: Release
if: github.ref == 'refs/heads/master'
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
tag_name: release-${{ github.sha }}
name: Release ${{ github.sha }}
files: target/wasm32-wasi/release/hollowknight_autosplit_wasm.wasm
clippy:
name: Check clippy lints
runs-on: ubuntu-latest
steps:
- name: Checkout Commit
uses: actions/checkout@v3
- name: Install Rust
uses: hecrj/setup-rust-action@v1
with:
components: clippy
targets: wasm32-wasi
- name: Run Clippy
run: cargo clippy --all-features
format:
name: Check formatting
runs-on: ubuntu-latest
steps:
- name: Checkout Commit
uses: actions/checkout@v3
- name: Install Rust
uses: hecrj/setup-rust-action@v1
with:
components: rustfmt
- name: Run cargo fmt
run: cargo fmt -- --check || true