Update GitHub actions.

This commit is contained in:
Thomas Kemmer
2025-09-30 22:37:43 +02:00
parent b7a7589ed4
commit 4dfb087f76
4 changed files with 35 additions and 2 deletions

2
.github/FUNDING.yml vendored Normal file
View File

@@ -0,0 +1,2 @@
github: [tkem]
custom: ["https://www.paypal.me/tkem"]

13
.github/SECURITY.md vendored Normal file
View File

@@ -0,0 +1,13 @@
# Security Policy
## Supported Versions
Security updates are applied only to the latest release.
## Reporting a Vulnerability
If you have discovered a security vulnerability in this project, please report it privately. **Do not disclose it as a public issue.** This gives us time to work with you to fix the issue before public exposure, reducing the chance that the exploit will be used before a patch is released.
Please disclose it at [security advisory](https://github.com/tkem/fsmlite/security/advisories/new).
This project is maintained by a single person on a best effort basis. As such, vulnerability reports will be investigated and fixed or disclosed as soon as possible, but there may be delays in response time due to the maintainer's other commitments.

6
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"

View File

@@ -11,8 +11,12 @@ jobs:
matrix:
cc: [clang-18, gcc-13, gcc-14]
include:
- cc: clang-17
cxx: clang++-17
os: ubuntu-latest
- cc: clang-18
cxx: clang++-18
cxxflags: -fno-exceptions
gcov: llvm-cov-18 gcov
os: ubuntu-latest
- cc: gcc-13
@@ -20,6 +24,7 @@ jobs:
os: ubuntu-latest
- cc: gcc-14
cxx: g++-14
cxxflags: -fno-exceptions
gcov: gcov-14
os: ubuntu-latest
steps:
@@ -31,16 +36,23 @@ jobs:
CC: ${{ matrix.cc }}
CXX: ${{ matrix.cxx }}
run: ./configure --enable-coverage && make check
- name: Configure, build and run tests with ${{ matrix.cxxflags }}
if: ${{ matrix.cxxflags }}
env:
CC: ${{ matrix.cc }}
CXX: ${{ matrix.cxx }}
CXXFLAGS: ${{ matrix.cxxflags }}
run: ./configure --enable-coverage && make check
- name: Create coverage information
if: ${{ matrix.gcov }}
run: ${{ matrix.gcov }} -r *.cpp
working-directory: tests
if: ${{ matrix.gcov }}
- name: Upload coverage information
if: ${{ matrix.gcov }}
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
with:
name: ${{ matrix.cc }} on ${{ matrix.os }}
token: ${{ secrets.CODECOV_TOKEN }}
if: ${{ matrix.gcov }}
msvc:
name: Windows ${{ matrix.config }} build
runs-on: windows-latest