Skip to content

Bump actions/upload-artifact from 2 to 3 #6

Bump actions/upload-artifact from 2 to 3

Bump actions/upload-artifact from 2 to 3 #6

Workflow file for this run

name: CodeChecker
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
codechecker:
runs-on: ubuntu-latest
steps:
- name: "Check out repository"
uses: actions/checkout@v4
# Prepare a build
- name: "Prepare build"
run: |
mkdir -pv Build
cd Build
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
# Run the analysis
- uses: whisperity/codechecker-analysis-action@v1
id: codechecker
with:
logfile: ${{ github.workspace }}/Build/compile_commands.json
# Upload the results to the CI
- uses: actions/upload-artifact@v3
with:
name: "CodeChecker Bug Reports"
path: ${{ steps.codechecker.outputs.result-html-dir }}