codeql workflow #563
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: codeql workflow | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
jobs: | |
analyze: | |
name: analyze | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get -y --no-install-recommends install \ | |
build-essential \ | |
automake \ | |
pkg-config \ | |
libpoco-dev \ | |
libboost-dev | |
- name: Install FUSE from sources | |
run: | | |
sudo apt-get -y --no-install-recommends install meson ninja-build | |
mkdir /tmp/fuse3 ; cd /tmp/fuse3 | |
git clone --depth 1 https://github.com/libfuse/libfuse.git . | |
mkdir build ; cd build | |
meson .. | |
ninja | |
sudo ninja install | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: 'cpp' | |
- name: Autobuild | |
uses: github/codeql-action/autobuild@v3 | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |