mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/LocalizationData.git
synced 2025-02-06 06:34:30 +08:00
34 lines
778 B
YAML
34 lines
778 B
YAML
|
name: PR Check
|
||
|
|
||
|
on:
|
||
|
pull_request:
|
||
|
types: [opened, synchronize, reopened]
|
||
|
branches:
|
||
|
- '**'
|
||
|
workflow_dispatch:
|
||
|
|
||
|
jobs:
|
||
|
run-rust:
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v4
|
||
|
|
||
|
- name: Check runner_tools
|
||
|
uses: actions/checkout@v4
|
||
|
with:
|
||
|
repository: StarCitizenToolBox/runner_tools
|
||
|
path: runner_tools
|
||
|
|
||
|
- name: Set up Rust
|
||
|
uses: dtolnay/rust-toolchain@stable
|
||
|
|
||
|
- name: Rust Cache
|
||
|
uses: Swatinem/rust-cache@v2
|
||
|
with:
|
||
|
workspaces: "rust"
|
||
|
cache-all-crates: true
|
||
|
|
||
|
- name: PR Check
|
||
|
run: cargo run --manifest-path ./runner_tools/localization/Cargo.toml pr_check --release
|