mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-11-01 10:09:57 +00:00
37 lines
810 B
YAML
37 lines
810 B
YAML
on:
|
|
push:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
checkout:
|
|
runs-on: docker
|
|
container:
|
|
image: docker.io/node:20-bookworm
|
|
steps:
|
|
- run: env
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
url: https://git.asonix.dog
|
|
|
|
clippy:
|
|
needs: [checkout]
|
|
runs-on: docker
|
|
container:
|
|
image: docker.io/asonix/rust-builder:latest-linux-amd64
|
|
steps:
|
|
- run: |
|
|
env
|
|
rustup component add clippy
|
|
cargo clippy --no-default-features -- -D warnings
|
|
cargo clippy --no-default-features --features io-uring -- -D warnings
|
|
|
|
tests:
|
|
needs: [checkout]
|
|
runs-on: docker
|
|
container:
|
|
image: docker.io/asonix/rust-builder:latest-linux-amd64
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: cargo test
|