2024-06-12 05:13:07 +00:00
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: debian-12
|
|
|
|
steps:
|
|
|
|
- uses: https://code.forgejo.org/actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2024-08-07 10:16:29 +00:00
|
|
|
# FIXME: uncomment once the code works again
|
|
|
|
# - run: |
|
|
|
|
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.79.0
|
|
|
|
# source "$HOME/.cargo/env"
|
|
|
|
# echo "$PATH" >> "$GITHUB_PATH"
|
|
|
|
# - uses: https://github.com/Swatinem/rust-cache@v2
|
|
|
|
# with:
|
|
|
|
# save-if: ${{ github.ref == 'refs/heads/master' }}
|
|
|
|
# - run: cargo test
|
|
|
|
# - run: cargo test --features=unstable-doc
|
|
|
|
# - run: cargo doc --features=unstable-doc
|