aboutsummaryrefslogtreecommitdiff
path: root/templates/rust/.github/workflows/build.yml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/rust/.github/workflows/build.yml')
-rw-r--r--templates/rust/.github/workflows/build.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/rust/.github/workflows/build.yml b/templates/rust/.github/workflows/build.yml
new file mode 100644
index 0000000..86447dc
--- /dev/null
+++ b/templates/rust/.github/workflows/build.yml
@@ -0,0 +1,19 @@
+name: Rust
+
+on:
+ push:
+ pull_request:
+
+env:
+ CARGO_TERM_COLOR: always
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v4
+ - name: Build
+ run: cargo build --verbose
+ - name: Run tests
+ run: cargo test --verbose