Update browsingContext.UserPromptOpened event parameters #1904
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: test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: "3.11" | |
- name: Build spec without warnings | |
run: ./scripts/build.sh --install | |
cddl: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
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@v3 | |
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@v3 | |
with: | |
name: cddl | |
path: "*.cddl" |