refactor(taskfiles)!: Rename NAME
to CMAKE_PACKAGE_NAME
and require it to be set if CMAKE_SETTINGS_DIR
is set in utils:cmake:install
(fixes #50).
#14
Workflow file for this run
This file contains hidden or 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: "unit-tests" | |
on: | |
pull_request: | |
push: | |
schedule: | |
# Run daily at 00:20 UTC | |
- cron: "20 0 * * *" | |
workflow_dispatch: | |
permissions: {} | |
concurrency: | |
group: "${{github.workflow}}-${{github.ref}}" | |
# Cancel in-progress jobs for efficiency | |
cancel-in-progress: true | |
jobs: | |
unit-tests: | |
strategy: | |
matrix: | |
os: | |
- "ubuntu-22.04" | |
- "ubuntu-24.04" | |
runs-on: "${{matrix.os}}" | |
steps: | |
- uses: "actions/checkout@v4" | |
with: | |
submodules: "recursive" | |
- name: "Install task" | |
shell: "bash" | |
run: "npm install -g @go-task/cli" | |
- name: "Run unit tests" | |
run: "task test" |