Skip to content

RGBA8 OnIndex

RGBA8 OnIndex #1013

Workflow file for this run

name: VDB Code Style
on:
pull_request:
branches:
- '**'
paths-ignore:
- 'CODEOWNERS'
- '**.md'
workflow_dispatch:
# Allow subsequent pushes to the same PR or REF to cancel any previous jobs.
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
check-spdx-identifiers:
name: SPDX identifiers
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- uses: enarx/spdx@d4020ee98e3101dd487c5184f27c6a6fb4f88709 # master
with:
licenses: |-
Apache-2.0
# Search the git repository for any trailing spaces excluding auto-generated wlt files
# NOTE: Migrated from openvdb whitespace.yml
trailingspaces:
name: Trailing spaces
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- name: test
run: |
set +e
git grep -n -I -E '^.+[ ]+$' -- ':!*.wlt'
test $? -eq 1
# Search for any tabs excluding meeting notes, image files and a few others
# NOTE: Migrated from openvdb whitespace.yml
spacesnottabs:
name: Spaces not tabs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- name: test
run: |
set +e
git grep -n " " -- ':!*/codestyle.yml' ':!*.svg' ':!*.cmd' ':!*.png' ':!*.wlt' ':!*.jpg' ':!*.gif' ':!*.mp4' ':!*.pt' ':!*.pth' ':!*.nvdb' ':!*.npz' ':!*.gitmodules'
test $? -eq 1