We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fea5cb9 commit d486b57Copy full SHA for d486b57
.github/workflows/main.yml
@@ -0,0 +1,24 @@
1
+name: CI
2
+on: [push, pull_request]
3
+env:
4
+ RUST_BACKTRACE: 1
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v1
10
+ - name: Formatting
11
+ run: |
12
+ # Install extra rustup components
13
+ rustup component add rustfmt
14
+ cargo fmt --all -- --check
15
+ - name: Correct Nightly Version
16
+ # Ensure everything is run and tested with the same nightly version
17
+ run: ci/check-nightly-version.sh
18
+ - name: Test
19
20
+ set -euo pipefail
21
+ IFS=$'\n\t'
22
+ # Check if the code is good
23
+ cargo build --all --locked
24
+ cargo test --all --locked
.travis.yml
ci/run.sh
0 commit comments