diff options
Diffstat (limited to '.github/workflows/rust.yml')
| -rw-r--r-- | .github/workflows/rust.yml | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml deleted file mode 100644 index 2cd3ba5d7..000000000 --- a/.github/workflows/rust.yml +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | name: Rust | ||
| 2 | |||
| 3 | on: | ||
| 4 | push: | ||
| 5 | branches: [master] | ||
| 6 | pull_request: | ||
| 7 | branches: [master] | ||
| 8 | merge_group: | ||
| 9 | |||
| 10 | env: | ||
| 11 | CARGO_TERM_COLOR: always | ||
| 12 | |||
| 13 | jobs: | ||
| 14 | build-nightly: | ||
| 15 | runs-on: ubuntu-latest | ||
| 16 | steps: | ||
| 17 | - uses: actions/checkout@v2 | ||
| 18 | - uses: actions/cache@v2 | ||
| 19 | with: | ||
| 20 | path: | | ||
| 21 | ~/.cargo/registry | ||
| 22 | ~/.cargo/git | ||
| 23 | target | ||
| 24 | key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
| 25 | |||
| 26 | - name: Check fmt | ||
| 27 | run: cargo fmt -- --check | ||
| 28 | - name: Build | ||
| 29 | run: ./ci.sh | ||
