Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
3 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: "WebGPU Validate Shader Key"
description: "Validate if the shader key is consistent for WebGPU shaders."
 
inputs:
  log_file_path:
    required: true
    type: string
  is_chromium_log:
    required: false
    type: boolean
    default: false
 
runs:
  using: "composite"
  steps:
    - name: Validate shader keys (chromium log)
      # GitHub Actions treats all inputs as strings even if it's specified as a boolean.
      if: ${{ inputs.is_chromium_log == 'true' }}
      shell: cmd
      run: |
        node parse-chromium-debug-log.js < "${{ inputs.log_file_path }}" | node validate-shader-key.js
      working-directory: ${{ github.action_path }}
 
    - name: Validate shader keys (native log)
      if: ${{ inputs.is_chromium_log != 'true' }}
      shell: cmd
      run: |
        node validate-shader-key.js < "${{ inputs.log_file_path }}"
      working-directory: ${{ github.action_path }}