Skip to content

feat: (wip) Redesigned event publishing system #11

feat: (wip) Redesigned event publishing system

feat: (wip) Redesigned event publishing system #11

Workflow file for this run

name: Formatting
on: [push, pull_request_target]
jobs:
format-with-stylua:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache cargo modules
id: cache-cargo
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.cargo
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/Cargo.toml') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install cargo
run: curl https://sh.rustup.rs -sSf | sh -s -- -y
- name: Install stylua
run: cargo install stylua --features lua52
- name: Run formatting
run: stylua -v --verify .