aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2021-02-01 20:41:21 +0100
committerGitHub <noreply@github.com>2021-02-01 20:41:21 +0100
commitfd4868df1fd24c05bce5c92cf8289fa755f25875 (patch)
treeb548ee744f8d69ad4ba68ffda144704382df4b86
parent8cf92ff7ed32ceda9d4a2518a784467595c36db5 (diff)
parent43d93e4b681004198c82935e11c89d7299938a80 (diff)
downloadsylt-fd4868df1fd24c05bce5c92cf8289fa755f25875.tar.gz
Merge pull request #6 from FredTheDino/some-ci
Create rust.yml
-rw-r--r--.github/workflows/rust.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
new file mode 100644
index 0000000..d09f364
--- /dev/null
+++ b/.github/workflows/rust.yml
@@ -0,0 +1,21 @@
+name: Rust
+
+on:
+ push:
+ branches: [ main ]
+ pull_request:
+
+env:
+ CARGO_TERM_COLOR: always
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Build
+ run: cargo build --verbose
+ - name: Run tests
+ run: cargo test --verbose