This repository has been archived on 2025-08-25. 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.
Alexandria/.forgejo/workflows/test.yml
Ninjdai b78e7d9bf4
Some checks failed
/ test (push) Failing after 3m38s
fix(ci): wrong formatting
2025-08-09 20:58:51 +02:00

21 lines
697 B
YAML

on: [push, pull_request]
jobs:
test:
runs-on: docker
steps:
- uses: actions/checkout@v4
- name: Cache Cargo Build
uses: actions/cache@v4
env:
cache-name: cache-cargo-build
with:
path: |
target/debug
~/.cargo/registry
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/libalexandria.rlib') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- run: rustup update stable && rustup default stable
- run: JWT_SECRET="$(./scripts/generate_secret.sh)" cargo test --verbose