mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-08-02 14:57:43 +03:00
Check Rust formatting on pull requests
This should help us maintain consistent style, without having unrelated style changes in pull requests from running `rustfmt`.
This commit is contained in:
9
.github/workflows/pr_master.yml
vendored
9
.github/workflows/pr_master.yml
vendored
@ -11,6 +11,15 @@ env:
|
||||
ROCM_VERSION: "6.3.1"
|
||||
|
||||
jobs:
|
||||
formatting:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
with:
|
||||
components: rustfmt
|
||||
- name: Check Rust formatting
|
||||
uses: actions-rust-lang/rustfmt@v1
|
||||
build_linux:
|
||||
name: Build (Linux)
|
||||
runs-on: ubuntu-22.04
|
||||
|
Reference in New Issue
Block a user