Skip to content

Not jan main

Not jan main #70

Workflow file for this run

name: Build
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- uses: dtolnay/rust-toolchain@stable
- name: Set up environment for tests
run: mkdir -p $HOME/.ssh && touch $HOME/.ssh/config
- name: Style check
run: cargo fmt --all --check
- name: Run tests
run: cargo test
- name: Clippy
run: cargo clippy -- -Dwarnings