Skip to content

Problem: change log not updated (fix #357) (#358) #358

Problem: change log not updated (fix #357) (#358)

Problem: change log not updated (fix #357) (#358) #358

Workflow file for this run

name: cpp-linter
on:
push:
branches: [main]
merge_group:
pull_request:
branches: [main]
jobs:
cpp-linter:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup
run: |
sudo chmod 777 $GITHUB_WORKSPACE
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo rm -rf /usr/local/lib/android
make
- uses: addnab/docker-run-action@v3
with:
registry: ghcr.io
username: ${{ secrets.USER }}
password: ${{ secrets.PAT }}
image: ghcr.io/epicgames/unreal-engine:dev-slim-4.27.2
options: -v ${{ github.workspace }}:/home/ue4/play-unreal-plugin -e HOME=/home/ue4
run: |
cd ~/play-unreal-plugin
sudo apt update
sudo apt install -y cmake
make compile_commands
- uses: cpp-linter/cpp-linter-action@v2
id: linter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
style: file
database: build/compile_commands.json
- name: Fail fast?!
if: steps.linter.outputs.checks-failed > 0
run: echo "Some files failed the linting checks!"
# for actual deployment
#run: exit 1