Skip to content

Rust

Rust #882

Workflow file for this run

name: Rust
on:
push:
branches: [ '*' ]
pull_request:
branches: [ master ]
schedule:
- cron: '45 5 */2 * *'
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: 'true'
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: Build
run: cargo build --verbose
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
- name: Run tests
run: cargo test --verbose