Skip to content

chore(deps): update dependency https://github.com/serious-scaffold/ss-cpp to v1.7.3 #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
_commit: v1.6.21
_commit: v1.7.3
_src_path: https://github.com/serious-scaffold/ss-cpp
author_email: [email protected]
author_name: l.feng
Expand All @@ -19,6 +19,7 @@ repo_host: github.com
repo_name: cppfront-practice
repo_namespace: msclock
repo_platform: github
unit_test: catch2
use_cdash: false
use_codecov: true
use_codeql: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
timeout-minutes: 15

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.head_ref }}

- name: Cache
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
uses: actions/cache@v4
with:
path: |
~/vcpkg
Expand All @@ -50,7 +50,7 @@ jobs:
ccache: true
doxygen: true

- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
- uses: actions/setup-python@v5
with:
python-version: 3.x

Expand All @@ -67,7 +67,7 @@ jobs:
run: make docs

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html
62 changes: 31 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:
pre-commit:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
- uses: actions/setup-python@v5
with:
python-version: 3.11

- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
- uses: pre-commit/[email protected]
with:
extra_args: --hook-stage manual --all-files

Expand All @@ -47,12 +47,12 @@ jobs:
name: check • ${{ matrix.triplet }} • ${{ matrix.compiler }} • c++${{ matrix.std }} • ${{ matrix.build_type }}

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Cache
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
uses: actions/cache@v4
with:
path: |
~/vcpkg
Expand Down Expand Up @@ -124,12 +124,12 @@ jobs:
name: check • ${{ matrix.triplet }} • ${{ matrix.compiler }} • c++${{ matrix.std }} • ${{ matrix.build_type }}

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Cache
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
uses: actions/cache@v4
with:
path: |
~/vcpkg
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:


check-on-windows:
runs-on: windows-2022
runs-on: windows-2025
needs: [pre-commit]

strategy:
Expand All @@ -202,12 +202,12 @@ jobs:
name: check • ${{ matrix.triplet }} • ${{ matrix.compiler }} • c++${{ matrix.std }} • ${{ matrix.build_type }}

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Cache
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
uses: actions/cache@v4
with:
path: |
~/vcpkg
Expand Down Expand Up @@ -254,7 +254,7 @@ jobs:


check-mingw:
runs-on: windows-2022
runs-on: windows-2025
needs: [pre-commit]

strategy:
Expand All @@ -267,12 +267,12 @@ jobs:
name: check • ${{ matrix.triplet }} • ${{ matrix.compiler }} • c++${{ matrix.std }} • ${{ matrix.build_type }}

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Cache
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
uses: actions/cache@v4
with:
path: |
~/vcpkg
Expand All @@ -289,7 +289,7 @@ jobs:
ninja: true
ccache: true

- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
- uses: actions/setup-python@v5
with:
python-version: 3.x

Expand Down Expand Up @@ -335,12 +335,12 @@ jobs:
name: check • sanitizers • ${{ matrix.sanitizer }} • ${{ matrix.build_type }}

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Cache
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
uses: actions/cache@v4
with:
path: |
~/vcpkg
Expand Down Expand Up @@ -382,12 +382,12 @@ jobs:
name: check • valgrind • ${{ matrix.build_type }}

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Cache
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
uses: actions/cache@v4
with:
path: |
~/vcpkg
Expand Down Expand Up @@ -433,7 +433,7 @@ jobs:

- name: Upload test results
if: failure()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
uses: actions/upload-artifact@v4
with:
name: valgrind-results
path: out/valgrind-results.tar.gz
Expand All @@ -443,12 +443,12 @@ jobs:
needs: [pre-commit]

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Cache
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
uses: actions/cache@v4
with:
path: |
~/vcpkg
Expand All @@ -463,7 +463,7 @@ jobs:
ninja: true
ccache: true

- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
- uses: actions/setup-python@v5
with:
python-version: 3.x

Expand Down Expand Up @@ -491,12 +491,12 @@ jobs:
needs: [pre-commit]

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Cache
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
uses: actions/cache@v4
with:
path: |
~/vcpkg
Expand All @@ -511,7 +511,7 @@ jobs:
ninja: true
ccache: true

- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
- uses: actions/setup-python@v5
with:
python-version: 3.x

Expand Down Expand Up @@ -539,12 +539,12 @@ jobs:
needs: [pre-commit]

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Cache
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
uses: actions/cache@v4
with:
path: |
~/vcpkg
Expand All @@ -562,7 +562,7 @@ jobs:
doxygen: true
graphviz: true

- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
- uses: actions/setup-python@v5
with:
python-version: 3.x

Expand All @@ -584,12 +584,12 @@ jobs:
needs: [pre-commit]

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Cache
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
uses: actions/cache@v4
with:
path: |
~/vcpkg
Expand Down Expand Up @@ -628,7 +628,7 @@ jobs:
run: cmake --build --preset=default --target ccov-all

- name: Upload coverage report
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
uses: codecov/[email protected].2
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,18 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Initialize CodeQL
uses: github/codeql-action/init@fca7ace96b7d713c7035871441bd52efbe39e27e # v3.28.19
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql-config.yml

- name: Cache
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
uses: actions/cache@v4
with:
path: |
~/vcpkg
Expand Down Expand Up @@ -87,4 +87,4 @@ jobs:
run: cmake --build --preset=default --target all

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@fca7ace96b7d713c7035871441bd52efbe39e27e # v3.28.19
uses: github/codeql-action/analyze@v3
2 changes: 1 addition & 1 deletion .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Generate a token with GitHub App if App ID exists
id: generate-token
if: vars.BOT_APP_ID
uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2
uses: actions/create-github-app-token@v2
with:
app-id: ${{ vars.BOT_APP_ID }}
private-key: ${{ secrets.BOT_PRIVATE_KEY }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Generate a bot token with BOT_APP_ID
id: bot_token
if: vars.BOT_APP_ID && env.BOT_PRIVATE_KEY != null
uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2
uses: actions/create-github-app-token@v2
env:
BOT_PRIVATE_KEY: ${{ secrets.BOT_PRIVATE_KEY }}
with:
Expand All @@ -40,13 +40,13 @@ jobs:
echo "# :warning: GITHUB_TOKEN is used" >> $GITHUB_STEP_SUMMARY
echo "The GITHUB_TOKEN is used instead of a bot token or PAT that will not emit the released publish event for triggering a released workflow." >> $GITHUB_STEP_SUMMARY

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ steps.bot_token.outputs.token || secrets.PAT || secrets.GITHUB_TOKEN }}

- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
uses: actions/setup-node@v4
with:
node-version: lts/*

Expand Down
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ repos:
additional_dependencies: [pyyaml]
types: [file]
files: (\.cmake|CMakeLists.txt)(.in)?$
exclude: |
(?x)(
^(cmake/vcpkg/ports/.*) |
^(cmake/vcpkg/triplets/.*) |
^(cmake/vcpkg/scripts/toolchains/.*)
)

# Check for spelling
- repo: https://github.com/codespell-project/codespell
Expand Down
3 changes: 1 addition & 2 deletions .renovaterc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"helpers:pinGitHubActionDigests",
":enablePreCommit"
],
"automergeType": "pr",
"automergeStrategy": "merge-commit",
"automergeStrategy": "squash",
"ignoreScripts": false,
"platformAutomerge": false,
"packageRules": [
Expand Down
3 changes: 2 additions & 1 deletion cmake/presets/triplets/x64-mingw-dynamic.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"x64"
],
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-mingw-dynamic"
"VCPKG_TARGET_TRIPLET": "x64-mingw-dynamic",
"VCPKG_HOST_TRIPLET": "x64-mingw-dynamic"
}
}
]
Expand Down
3 changes: 2 additions & 1 deletion cmake/presets/triplets/x64-mingw-static.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"x64"
],
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-mingw-static"
"VCPKG_TARGET_TRIPLET": "x64-mingw-static",
"VCPKG_HOST_TRIPLET": "x64-mingw-static"
}
}
]
Expand Down
Loading
Loading