Skip to content

Fix SetSubtitleText packet type in packet_registry.rs #200

Fix SetSubtitleText packet type in packet_registry.rs

Fix SetSubtitleText packet type in packet_registry.rs #200

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
paths:
- 'pico_limbo/**'
- 'crates/**'
- 'data/generated/**'
- 'Cargo.lock'
- 'Cargo.toml'
pull_request:
branches: [ master ]
paths:
- 'pico_limbo/**'
- 'crates/**'
- 'data/generated/**'
- 'Cargo.lock'
- 'Cargo.toml'
env:
CARGO_TERM_COLOR: always
jobs:
# Run cargo test
test:
name: Test Suite
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-test-${{ hashFiles('**/Cargo.toml') }}
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@1.92
- name: Run cargo test
run: cargo +stable test
# Run cargo clippy -- -D warnings
clippy_check:
name: Clippy
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-clippy-${{ hashFiles('**/Cargo.toml') }}
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@1.92
with:
components: clippy
- name: Run clippy
run: cargo +stable clippy --all-targets --all-features -- -D warnings
# Run cargo fmt --all -- --check
format:
name: Format
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@1.92
with:
components: rustfmt
- name: Run cargo fmt
run: cargo +stable fmt --all -- --check