chore(deps): update deps/googletest digest to d122c0d #7734
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
########################### | |
########################### | |
## Linter GitHub Actions ## | |
########################### | |
########################### | |
name: Lint Code Base | |
# | |
# Documentation: | |
# https://help.github.com/en/articles/workflow-syntax-for-github-actions | |
# | |
############################# | |
# Start the job on all push # | |
############################# | |
on: | |
push: | |
pull_request: | |
branches: [main, develop] | |
permissions: | |
contents: read | |
############### | |
# Set the Job # | |
############### | |
jobs: | |
super-linter: | |
# Name the Job | |
name: Lint Code Base (super-linter) | |
permissions: | |
# To write linting fixes | |
contents: write | |
# To write Super-linter status checks | |
statuses: write | |
# Set the agent to run on | |
runs-on: ubuntu-24.04 | |
################## | |
# Load all steps # | |
################## | |
steps: | |
########################## | |
# Checkout the code base # | |
########################## | |
- name: Checkout Code | |
uses: actions/[email protected] | |
with: | |
# Full git history is needed to get a proper list | |
# of changed files within `super-linter` | |
fetch-depth: 0 | |
token: ${{ secrets.SUPER_LINTER_TOKEN }} | |
################################ | |
# Run Linter against code base # | |
################################ | |
- name: Lint Code Base | |
uses: super-linter/[email protected] | |
env: | |
VALIDATE_CPP: false # Use clang-formt instead | |
VALIDATE_ANSIBLE: false | |
VALIDATE_ALL_CODEBASE: false | |
FIX_MARKDOWN_PRETTIER: true | |
FIX_YAML_PRETTIER: true | |
FIX_JSON_PRETTIER: true | |
FIX_SHELL_SHFMT: true | |
DEFAULT_BRANCH: develop | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Commit and push linting fixes | |
# Run only on: | |
# - Pull requests | |
# - Not on the default branch | |
if: > | |
github.event_name == 'pull_request' && | |
github.ref_name != github.event.repository.default_branch | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }} | |
commit_message: "chore: fix linting issues" | |
commit_user_name: super-linter | |
commit_user_email: [email protected] | |
# CMake Format | |
cmake-format-linter: | |
name: Lint Code Base (cmake-format-lint) | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/[email protected] | |
- name: Format CMake files | |
id: cmake-format | |
uses: PuneetMatharu/[email protected] | |
with: | |
args: --config-files ./github/linters/cmake-format.yaml |