Skip to content

Harden Win32 error conversion to handle HRESULT input (#2646) #660

Harden Win32 error conversion to handle HRESULT input (#2646)

Harden Win32 error conversion to handle HRESULT input (#2646) #660

Workflow file for this run

name: gen
on:
pull_request:
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
branches:
- master
env:
RUSTFLAGS: -Dwarnings
jobs:
generation:
name: tool_${{ matrix.tool }}
runs-on: ubuntu-latest
strategy:
matrix:
tool: [windows, sys, yml, license, core, metadata]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run
run: cargo run -p tool_${{ matrix.tool }}
- name: Check
shell: bash
run: |
git add -N .
git diff --exit-code || (echo '::error::Generated `tool_${{ matrix.tool }}` is out-of-date. Please run `cargo run -p tool_${{ matrix.tool }}`'; exit 1)