Skip to content

Use SPDX 2.1 license expression. #12

Use SPDX 2.1 license expression.

Use SPDX 2.1 license expression. #12

Workflow file for this run

on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install stable toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: "stable"
components: rustfmt, clippy
- name: cargo fmt
run: cargo fmt --all -- --check
- name: cargo clippy
run: cargo clippy --all-targets -- -D warnings