mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-11-01 10:09:57 +00:00
26 lines
684 B
YAML
26 lines
684 B
YAML
on:
|
|
push:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
clippy:
|
|
runs-on: docker
|
|
container:
|
|
image: docker.io/asonix/rust-builder:latest-linux-amd64
|
|
steps:
|
|
- run: |
|
|
git clone ${{ env.github_server_url }}/${{ env.github_repository }}
|
|
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:
|
|
- run: |
|
|
git clone ${{ env.github_server_url }}/${{ env.github_repository }}
|
|
cargo test
|