-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (43 loc) · 1023 Bytes
/
build-nightly.yml
File metadata and controls
43 lines (43 loc) · 1023 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Build-nightly
on:
schedule:
- cron: '29 15 * * *'
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
RUST_BACKTRACE: 1
RUST_LOG: "cargo_tarpaulin=trace,llvm_profparser=trace"
jobs:
check:
name: "Check"
runs-on: "ubuntu-latest"
strategy:
fail-fast: false
matrix:
rust:
#- stable
#- beta
- nightly
steps:
- uses: "actions/checkout@v3"
name: "Checkout"
- uses: "actions-rs/toolchain@v1"
with:
profile: "minimal"
toolchain: "${{ matrix.rust }}"
override: true
name: "Install Rust ${{ matrix.rust }}"
- name: cache
uses: "Swatinem/rust-cache@v2"
- uses: "actions-rs/cargo@v1"
with:
command: "check"
name: "Run `cargo check`"
- uses: "taiki-e/install-action@v2"
with:
tool: "cargo-hack"
name: "Install cargo-hack"
- run: "cargo hack check --no-dev-deps"
name: "Check all features with 'cargo-hack'"