# Gitea Actions mirror of the Woodpecker quality bar (.ci/woodpecker.yaml): # fmt, clippy -D warnings, full test suite. name: ci on: push: branches: [main] pull_request: jobs: quality: runs-on: ubuntu-latest container: rust:1 steps: # v4 built-in checkout: native Go, needs no Node (rust:1 has none) and # keeps the token out of a fetch URL. Uses the job token for the private repo. - name: checkout uses: builtin:checkout - name: rustfmt run: | rustup component add rustfmt cargo fmt --all --check - name: clippy run: | rustup component add clippy cargo clippy --workspace --all-targets -- -D warnings - name: test run: cargo test --workspace