Skip to content

Pin the Coveralls CI build at v2 #66

Pin the Coveralls CI build at v2

Pin the Coveralls CI build at v2 #66

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ "master", "ci" ]
pull_request:
branches: [ "master" ]
schedule:
# monthly analysis
- cron: "47 0 15 * *"
permissions:
contents: read
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ cpp ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: +security-and-quality
# install prerequisites
- run: sudo apt-get update && sudo apt-get install -y --no-install-suggests --no-install-recommends exiv2 libexiv2-dev libgtk-3-dev
# build and check
- run: make -j2 CFLAGS="-g -O0 -DENABLE_NLS=1" gpscorrelate gpscorrelate-gui && make check
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"