Skip to content

add minimal ci

add minimal ci #4

Workflow file for this run

# Reference: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
name: Changes on 'main' branch
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: "1.74"
components: clippy
- name: Cache cargo output
uses: Swatinem/rust-cache@v2
- name: Run clippy
run: cargo clippy