Files
OpenAssetTools/.github/workflows/linting.yaml
T
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
a8f5e6f3dd chore(deps): bump actions/setup-node from 6.4.0 to 7.0.0 (#915)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 6.4.0 to 7.0.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v6.4.0...v7.0.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-18 08:00:02 +02:00

56 lines
1.2 KiB
YAML

name: linting
on:
push:
branches:
- main
pull_request:
jobs:
check-clang-format-formatting:
name: Check clang-format formatting
runs-on: ubuntu-latest
container: ubuntu:24.04
defaults:
run:
shell: bash
steps:
- name: Install base packages
run: |
apt-get update
apt-get install -y wget tar git make curl
- name: Checkout repository
uses: actions/[email protected]
- name: Configure clang
uses: ./.github/actions/configure-clang
with:
clang_version: 20
- name: Test formatting for all files
working-directory: ${{ github.workspace }}
run: ./scripts/check-format.sh
modman-linting:
name: Lint ModMan UI
runs-on: ubuntu-latest
container: ubuntu:24.04
defaults:
run:
shell: bash
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Install node
uses: actions/[email protected]
with:
node-version: 24
- name: Lint UI
working-directory: ${{ github.workspace }}
run: |
npm install
npm run lint