Create rust.yml

added rust workflow
This commit is contained in:
FantasyPvP
2023-11-10 00:12:17 +00:00
committed by GitHub
parent 2d30f16b9d
commit 528bd30550
+20
View File
@@ -0,0 +1,20 @@
name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose