diff options
| -rw-r--r-- | .github/workflows/rust.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3c13d1b..acee126 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml | |||
| @@ -2,9 +2,9 @@ name: Rust | |||
| 2 | 2 | ||
| 3 | on: | 3 | on: |
| 4 | push: | 4 | push: |
| 5 | branches: [ master ] | 5 | branches: [ main ] |
| 6 | pull_request: | 6 | pull_request: |
| 7 | branches: [ master ] | 7 | branches: [ main ] |
| 8 | 8 | ||
| 9 | env: | 9 | env: |
| 10 | CARGO_TERM_COLOR: always | 10 | CARGO_TERM_COLOR: always |
| @@ -17,6 +17,6 @@ jobs: | |||
| 17 | steps: | 17 | steps: |
| 18 | - uses: actions/checkout@v2 | 18 | - uses: actions/checkout@v2 |
| 19 | - name: Build | 19 | - name: Build |
| 20 | run: cargo build --verbose | 20 | run: cargo +nightly build --verbose |
| 21 | - name: Run tests | 21 | - name: Run tests |
| 22 | run: cargo test --verbose | 22 | run: cargo +nightly test --verbose |
