Skip to content

Prototype Rust implementation using Bevy #1

Prototype Rust implementation using Bevy

Prototype Rust implementation using Bevy #1

Workflow file for this run

name: rust
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch: {}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-features
test:
needs: build
runs-on: ubuntu-latest
steps:
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
lint:
needs: build
runs-on: ubuntu-latest
steps:
- name: Install clippy
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: clippy
- name: Lint
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-features