This repository has been archived on 2026-05-27. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
rustypipe/.gitea/workflows/ci.yaml
2024-02-02 03:09:36 +01:00

24 lines
629 B
YAML

name: CI
on: [push, pull_request]
jobs:
Test:
runs-on: ubuntu-latest
steps:
- name: 📦 Checkout repository
uses: actions/checkout@v3
- name: 🦀 Setup Rust
uses: https://github.com/ATiltedTree/setup-rust@v1
with:
rust-version: stable
components: clippy
- name: 📥 Setup Rust cache
uses: https://github.com/Swatinem/rust-cache@v2
with:
cache-on-failure: "true"
- name: 📎 Clippy
run: cargo clippy --all --features=rss -- -D warnings
- name: 🧪 Test
run: cargo test --features=rss --workspace