Skip to content

Remove request field from network.Initiator #2069

Remove request field from network.Initiator

Remove request field from network.Initiator #2069

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Build spec without warnings
run: ./scripts/build.sh --install
cddl:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
- name: Get cddl version
run: curl -s https://crates.io/api/v1/crates/cddl | python3 -c "import sys, json; print(json.load(sys.stdin)['crate']['max_stable_version'])" | tee cddl.txt
- name: "Cache rust binaries"
uses: actions/cache@v4
id: cache-cddl
env:
cache-name: cache-cddl
with:
path: |
~/.cargo/bin/
~/.cargo/git/db/
~/.cargo/registry/cache/
~/.cargo/registry/index/
./target/
key: cddl-${{ hashFiles('cddl.txt') }}
- uses: dtolnay/rust-toolchain@stable
- name: Validate CDDL files
run: ./scripts/test.sh
- name: Archive CDDL files
uses: actions/upload-artifact@v4
with:
name: cddl
path: "*.cddl"