build(deps): bump actions/dependency-review-action from 4.1.3 to 4.2.5 #932
Workflow file for this run
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
name: Lint and format | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
paths-ignore: | |
- '**.md' | |
- 'docs/**' | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
- 'docs/**' | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint-and-format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0 | |
- name: Install clang-format | |
run: | | |
sudo apt update && sudo apt install clang-format-15 -y | |
sudo ln -sf /usr/bin/clang-format-15 /usr/bin/clang-format | |
- name: Build with Lint and Format Check | |
run: | | |
cmake -B build && cmake --build build | |
env: | |
CXX: clang++-14 | |
LINT_AND_FORMAT_CHECK: true | |
- uses: chartboost/ruff-action@e18ae971ccee1b2d7bbef113930f00c670b78da4 # v1.0.0 | |
name: Lint with Ruff | |
with: | |
version: 0.0.263 |