pict-rs/.forgejo/workflows/check.yaml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 14: cannot unmarshal !!str `rustup ...` into model.Step line 15: cannot unmarshal !!str `cargo c...` into model.Step line 16: cannot unmarshal !!str `cargo c...` into model.Step line 24: cannot unmarshal !!str `cargo test` into model.Step
2024-02-06 20:20:35 -06:00

25 lines
558 B
YAML

on:
push:
pull_request:
branches:
- main
jobs:
clippy:
runs-on: docker
container:
image: docker.io/asonix/rust-builder:latest-linux-amd64
steps:
- uses: actions/checkout@v4
- rustup component add clippy
- cargo clippy --no-default-features -- -D warnings
- cargo clippy --no-default-features --features io-uring -- -D warnings
tests:
runs-on: docker
container:
image: docker.io/asonix/rust-builder:latest-linux-amd64
steps:
- uses: actions/checkout@v4
- cargo test