2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-06-26 19:08:07 +00:00
Files
OpenAssetTools/.github/workflows/linting.yaml
T
dependabot[bot] 3382d17f31 chore(deps): bump actions/checkout from 6 to 6.0.3 (#839)
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 6.0.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v6.0.3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-20 08:48:57 +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/checkout@v6.0.3
- 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/checkout@v6.0.3
- name: Install node
uses: actions/setup-node@v6.4.0
with:
node-version: 24
- name: Lint UI
working-directory: ${{ github.workspace }}
run: |
npm install
npm run lint