Skip to content

fix: crafting data entry type #695

fix: crafting data entry type

fix: crafting data entry type #695

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
pull-requests: write
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: Swatinem/rust-cache@v2
with:
add-job-id-key: false
add-rust-environment-hash-key: false
shared-key: "bedrock-rs-cache"
cache-on-failure: false
cache-all-crates: true
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --all
fmt:
name: Formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
env:
RUSTFLAGS: "-Dwarnings"
steps:
- uses: actions/checkout@v6
- uses: Swatinem/rust-cache@v2
with:
add-job-id-key: false
add-rust-environment-hash-key: false
shared-key: "bedrock-rs-cache"
cache-on-failure: false
cache-all-crates: true
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets --all-features