mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/LocalizationData.git
synced 2025-03-10 22:01:29 +08:00
Feat: PR Check (#80)
This commit is contained in:
parent
ddfe0b37b1
commit
db2b7d320d
34
.github/workflows/pr_check.yml
vendored
Normal file
34
.github/workflows/pr_check.yml
vendored
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
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
|
Loading…
x
Reference in New Issue
Block a user