fj-pages/.forgejo/workflows/test.yml
mrrpnya 7d0e1d2c73
Some checks failed
Run tests / cargo_test (push) Failing after 3m5s
Run tests / cargo_clippy (push) Failing after 3m4s
Run tests / cargo_fmt (push) Failing after 3m3s
initial
2025-02-01 18:58:32 -08:00

46 lines
No EOL
945 B
YAML

name: Run tests
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
cargo_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Run tests
run: cargo test --all
cargo_clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Run clippy
run: cargo clippy --all -- -D warnings
cargo_fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Run fmt
run: cargo fmt --all -- --check