Skip to content

Commit cbaa358

Browse files
committed
refactor: Incorporate 3.0.2 version of The Common Project Template(CI update)
Signed-off-by: 林博仁(Buo-ren Lin) <buo.ren.lin@gmail.com>
1 parent 97e9061 commit cbaa358

22 files changed

+71
-61
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# This file is based on The Common EditorConfig Template project
55
# https://github.com/the-common/editorconfig-template
66
#
7-
# Copyright 2021 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
7+
# Copyright 2021 林博仁(Buo-ren, Lin) <buo.ren.lin@gmail.com>
88
# SPDX-License-Identifier: WTFPL
99

1010
# This is the top-most EditorConfig file

.gitattributes

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
# * Git - gitattributes Documentation
88
# https://www.git-scm.com/docs/gitattributes
99
#
10-
# Copyright 2023 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
11-
# SPDX-License-Identifier: CC-BY-SA-4.0 OR LicenseRef-Apache-2.0-If-Not-Used-In-Template-Projects
10+
# Copyright 2024 林博仁(Buo-ren Lin) <buo.ren.lin@gmail.com>
11+
# SPDX-License-Identifier: CC-BY-SA-4.0
1212

1313
# Avoid exporting development files to release archive
1414
/.* export-ignore

.github/workflows/check-potential-problems.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# * Workflow syntax for GitHub Actions - GitHub Docs
66
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
77
#
8-
# Copyright 2022 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
8+
# Copyright 2024 林博仁(Buo-ren Lin) <buo.ren.lin@gmail.com>
99
# SPDX-License-Identifier: CC-BY-SA-4.0
1010
name: Check potential problems in the project
1111
on:
@@ -25,21 +25,21 @@ jobs:
2525
uses: actions/checkout@v4
2626

2727
- name: Configure PyPI data cache to speed up continuous integration
28-
uses: actions/cache@v3
28+
uses: actions/cache@v4
2929
with:
3030
key: ${{ runner.os }}-pip
3131
path: ${{ env.PIP_CACHE_DIR }}
3232

3333
- name: >-
3434
Configure pre-commit data cache to speed up continuous integration
35-
uses: actions/cache@v3
35+
uses: actions/cache@v4
3636
with:
3737
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
3838
path: ${{ env.PRE_COMMIT_HOME }}
3939
4040
- name: >-
4141
Configure pre-built ShellCheck cache to speed up continuous integration
42-
uses: actions/cache@v3
42+
uses: actions/cache@v4
4343
with:
4444
key: ${{ runner.os }}-${{ runner.arch }}-shellcheck
4545
path: ${{ env.SHELLCHECK_DIR }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# * Workflow syntax for GitHub Actions - GitHub Docs
66
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
77
#
8-
# Copyright 2023 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
8+
# Copyright 2024 林博仁(Buo-ren Lin) <buo.ren.lin@gmail.com>
99
# SPDX-License-Identifier: CC-BY-SA-4.0
1010
name: Release product and their build aritfacts
1111
on:
@@ -66,7 +66,7 @@ jobs:
6666
run: ./continuous-integration/generate-release-description.sh
6767

6868
- name: Publish the release archive to the GitHub Releases
69-
uses: softprops/action-gh-release@v0.1.15
69+
uses: softprops/action-gh-release@v2
7070
with:
7171
name: ${{ env.project_id }} ${{ env.release_version }}
7272
files: |

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
# This file is based on The Common .gitignore Templates
77
# https://github.com/the-common/gitignore-templates
88
#
9-
# Copyright 2022 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
10-
# SPDX-License-Identifier: CC-BY-SA-4.0 OR LicenseRef-Apache-2.0-If-Not-Used-In-Template-Projects
9+
# Copyright 2022 林博仁(Buo-ren, Lin) <buo.ren.lin@gmail.com>
10+
# SPDX-License-Identifier: CC-BY-SA-4.0
1111

1212
# Don't track regular Unix hidden files
1313
.*

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
# * `.gitlab-ci.yml` keyword reference | GitLab
66
# https://docs.gitlab.com/ee/ci/yaml/
77
#
8-
# Copyright 2023 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
9-
# SPDX-License-Identifier: CC-BY-SA-4.0 OR LicenseRef-Apache-2.0-If-Not-Used-In-Template-Projects
8+
# Copyright 2024 林博仁(Buo-ren Lin) <buo.ren.lin@gmail.com>
9+
# SPDX-License-Identifier: CC-BY-SA-4.0
1010
do-static-analysis:
1111
stage: test
1212
rules:

.gitmodules

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Git submodule definition file
2+
#
3+
# Reference:
4+
#
5+
# * Git - gitmodules Documentation
6+
# https://git-scm.com/docs/gitmodules
7+
#
8+
# Copyright 2024 林博仁(Buo-ren Lin) <buo.ren.lin@gmail.com>
9+
# SPDX-License-Identifier: CC-BY-SA-4.0

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
# This file is based on The Common Pre-commit Framework Configuration Template
66
# https://github.com/Lin-Buo-Ren/common-precommit-config-template
77
#
8-
# Copyright 2021 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
9-
# SPDX-License-Identifier: CC-BY-SA-4.0 OR LicenseRef-Apache-2.0-If-Not-Used-In-Template-Projects
8+
# Copyright 2021 林博仁(Buo-ren, Lin) <buo.ren.lin@gmail.com>
9+
# SPDX-License-Identifier: CC-BY-SA-4.0
1010

1111
repos:
1212
# Some out-of-the-box hooks for pre-commit
@@ -42,7 +42,7 @@ repos:
4242
# Check REUSE compliance
4343
# https://reuse.software/
4444
- repo: https://github.com/fsfe/reuse-tool
45-
rev: v3.0.2
45+
rev: v4.0.3
4646
hooks:
4747
- id: reuse
4848

.reuse/dep5

Lines changed: 0 additions & 10 deletions
This file was deleted.

.yamllint

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
# This file is based on The Unofficial yamllint Configuration Templates
1313
# https://github.com/Lin-Buo-Ren/yamllint-configuration-templates
1414
#
15-
# Copyright 2021 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
16-
# SPDX-License-Identifier: CC-BY-SA-4.0 OR LicenseRef-Apache-2.0-If-Not-Used-In-Template-Projects
15+
# Copyright 2021 林博仁(Buo-ren, Lin) <buo.ren.lin@gmail.com>
16+
# SPDX-License-Identifier: CC-BY-SA-4.0
1717
rules:
1818
# Use this rule to control the number of spaces inside braces (`{` and `}`).
1919
# https://yamllint.readthedocs.io/en/stable/rules.html#module-yamllint.rules.braces

0 commit comments

Comments
 (0)