fileformats/.github/workflows/ci.yml
Théo LUDWIG 551a26a6ad
All checks were successful
ci / ci (push) Successful in 36s
ci / lint-markdown (push) Successful in 9s
ci / lint-commit (push) Successful in 11s
docs: add links
2023-12-07 00:44:30 +01:00

41 lines
883 B
YAML

name: "ci"
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: "always"
jobs:
ci:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
- uses: "dtolnay/rust-toolchain@stable"
with:
components: "clippy, rustfmt"
- run: "rustc --version"
- run: "cargo build --verbose"
- run: "cargo test --verbose"
- run: "cargo clippy --verbose -- -D warnings"
- run: "cargo fmt -- --check"
lint-markdown:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
- uses: "DavidAnson/markdownlint-cli2-action@v14"
with:
globs: "**/*.md"
config: ".markdownlint-cli2.jsonc"
lint-commit:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
- uses: "wagoid/commitlint-github-action@v5"