summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Meringdal <fmeringdal@hotmail.com>2020-10-17 14:27:08 +0200
committerFredrik Meringdal <fmeringdal@hotmail.com>2020-10-17 14:27:08 +0200
commite34b40e71743b8a0cb7387d77e9b05871b0f8e27 (patch)
treea6598984055ac5359aad49aec1ae74adc3a1e6a5
parent33d72e13303d8924608227b48755eda13b1c3ddc (diff)
parentc83080a4d5dd3e9e08f54b64d43a683f3dffbd2d (diff)
downloadrust_rrule-e34b40e71743b8a0cb7387d77e9b05871b0f8e27.zip
Merge branch 'main' of github.com:fmeringdal/rust_rrule into main
-rw-r--r--.github/workflows/rust.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
new file mode 100644
index 0000000..2506b38
--- /dev/null
+++ b/.github/workflows/rust.yml
@@ -0,0 +1,26 @@
+name: Build
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+env:
+ CARGO_TERM_COLOR: always
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@master
+ - uses: actions-rs/toolchain@v1
+ with:
+ toolchain: nightly
+ components: clippy
+ override: true
+ - name: Build
+ run: cargo build --verbose
+ - name: Run tests
+ run: cargo test --verbose