Bump version to 0.2.0 #37
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
# SPDX-License-Identifier: Apache-2.0 OR MIT | |
# | |
# SPDX-FileCopyrightText: 2023 Tristan Partin <tristan@partin.io> | |
name: CodeQL | |
on: | |
push: | |
branches: | |
- master | |
- "v[0-9]+.[0-9]+" | |
paths: | |
- "**.c" | |
- "**.h" | |
- .github/workflows/codeql.yaml | |
pull_request: | |
branches: | |
- master | |
- "v[0-9]+.[0-9]+" | |
paths: | |
- "**.c" | |
- "**.h" | |
- .github/workflows/codeql.yaml | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
security-events: write | |
jobs: | |
codeql: | |
runs-on: ubuntu-latest | |
container: quay.io/fedora/fedora:38 | |
steps: | |
- name: Install dependencies | |
run: | | |
dnf install --assumeyes gcc meson glib2-devel | |
- name: Checkout libmerr | |
uses: actions/checkout@v3 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
- name: Setup | |
run: | | |
meson setup build --fatal-meson-warnings --werror | |
- name: Build | |
run: | | |
ninja -C build | |
- name: Perform CodeQL analysis | |
uses: github/codeql-action/analyze@v2 |