Skip to content

Lr/epoch tests

Lr/epoch tests #5346

Workflow file for this run

name: Lint
on:
push:
branches:
- 'develop'
- 'main'
pull_request:
schedule:
- cron: '0 0 * * 1'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ (github.ref == 'refs/heads/main' && github.run_number) || github.ref }}
cancel-in-progress: true
jobs:
clippy:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout Repository
- name: Install Rust
uses: mkroening/rust-toolchain-toml@main
- uses: Swatinem/rust-cache@v2
name: Enable Rust Caching
with:
shared-key: "lint"
save-if: ${{ github.ref == 'refs/heads/main' }}
- uses: taiki-e/install-action@just
- name: Run clippy
run: |
just clippy
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout Repository
- name: Install Rust
uses: mkroening/rust-toolchain-toml@main
- uses: taiki-e/install-action@just
- name: Check rustfmt
run: |
just fmt_check