feat: return an result error during serialization and deserialization #237
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main, next ] | |
schedule: | |
# At 23:00 on Thursday. | |
- cron: '0 23 * * 4' | |
env: | |
RUST_BACKTRACE: full | |
jobs: | |
build_bench: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [ubuntu-latest] | |
toolchain: [stable] | |
steps: | |
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 | |
- name: Setup Rust | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: ${{ matrix.toolchain }} | |
- uses: extractions/setup-just@v2 | |
- uses: hustcer/setup-nu@v3.10 | |
with: | |
version: '0.85' | |
env: | |
GITHUB_TOKEN: ${{ secrets.PAT_GLOBAL }} | |
- name: Just version | |
run: just --version | |
- name: Build | |
run: just bench_build | |
build_test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [ubuntu-latest] | |
toolchain: [stable] | |
steps: | |
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 | |
- name: Setup Rust | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: ${{ matrix.toolchain }} | |
- uses: extractions/setup-just@v2 | |
- uses: hustcer/setup-nu@v3.10 | |
with: | |
version: '0.85' | |
env: | |
GITHUB_TOKEN: ${{ secrets.PAT_GLOBAL }} | |
- name: Just version | |
run: just --version | |
- name: Build | |
run: just build_all | |
- name: Test | |
run: just test_all |