mirror of
https://github.com/tribufu/tribufu-rust
synced 2026-06-01 09:42:37 +00:00
Create rust.yml
This commit is contained in:
parent
d9c4c40749
commit
bff0dc0344
1 changed files with 29 additions and 0 deletions
29
.github/workflows/rust.yml
vendored
Normal file
29
.github/workflows/rust.yml
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
name: Rust
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- "**/*.rs"
|
||||||
|
- "**/Cargo.toml"
|
||||||
|
- "**/Cargo.lock"
|
||||||
|
- ".github/workflows/rust.yml"
|
||||||
|
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- "**/*.rs"
|
||||||
|
- "**/Cargo.toml"
|
||||||
|
- "**/Cargo.lock"
|
||||||
|
- ".github/workflows/rust.yml"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
name: cargo check
|
||||||
|
runs-on: [linux]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
|
- run: cargo check --workspace
|
||||||
Loading…
Add table
Add a link
Reference in a new issue