Skip to content

Daily

Daily #2

Workflow file for this run

name: Daily
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # midnight, every day
env:
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
include:
- name: Default build
opts: -r
- name: All Features
opts: --all-features
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
name: Install Rust
with:
toolchain: stable
override: true
- name: Install Dependencies
run: |
sudo apt-get update
- name: ${{ matrix.name }}
run: |
cargo clean && cargo update && cargo build ${{ matrix.opts }}