Skip to content

[pre-commit.ci] pre-commit autoupdate #314

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #314

name: Rust unit tests
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get test data
id: cache-test-data
uses: actions/cache@v4
with:
path: test-data
key: test-data-v1
- name: Download test data
if: steps.cache-test-data.outputs.cache-hit != 'true'
run: |
cd crates/dekoder/tests/data
./download.sh
- uses: actions/setup-python@v5
- name: Install task runner
run: pip install poethepoet
- name: Run fmt
run: |
poe fmtcheck
- name: Run clippy
run: |
poe clippy
- name: Run Rust unit tests
run: |
poe rtest