Skip to content

Commit fa89107

Browse files
chore(deps): update dependency https://github.com/developerc286/template to v1.6.2
1 parent 19f120e commit fa89107

File tree

6 files changed

+62
-27
lines changed

6 files changed

+62
-27
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: v1.6.1
2+
_commit: v1.6.2
33
_src_path: https://github.com/DeveloperC286/template
44
project_name: conventional_commits_next_version
55
uses_git: true

.github/workflows/continuous-integration.yml

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@ permissions:
66
contents: read
77

88
jobs:
9+
permissions:
10+
name: Permissions
11+
runs-on: ${{ matrix.architecture }}
12+
strategy:
13+
matrix:
14+
architecture: [ubuntu-24.04, ubuntu-24.04-arm]
15+
language: [shell]
16+
steps:
17+
- name: Checkout code.
18+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
19+
- name: Check permissions.
20+
run: make check-${{ matrix.language }}-permissions
21+
922
formatting:
1023
name: Formatting
1124
runs-on: ${{ matrix.architecture }}
@@ -27,7 +40,7 @@ jobs:
2740
strategy:
2841
matrix:
2942
architecture: [ubuntu-24.04, ubuntu-24.04-arm]
30-
language: [rust, shell]
43+
language: [rust, shell, python]
3144
steps:
3245
- name: Checkout code.
3346
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
@@ -36,17 +49,20 @@ jobs:
3649
- name: Check linting.
3750
run: nix develop -c make check-${{ matrix.language }}-linting
3851

39-
scripts-permissions:
40-
name: Scripts Permissions
52+
dependencies:
53+
name: Dependencies
4154
runs-on: ${{ matrix.architecture }}
4255
strategy:
4356
matrix:
4457
architecture: [ubuntu-24.04, ubuntu-24.04-arm]
58+
language: [rust]
4559
steps:
4660
- name: Checkout code.
4761
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
48-
- name: Check scripts permissions.
49-
run: make check-scripts-permissions
62+
- name: Setup Nix.
63+
uses: cachix/install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # v31.9.0
64+
- name: Check dependencies.
65+
run: nix develop -c make check-${{ matrix.language }}-dependencies
5066

5167
compile:
5268
name: Compile

.github/workflows/conventional-commits.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
name: Linting
1111
runs-on: ubuntu-24.04
1212
container:
13-
image: ghcr.io/developerc286/conventional_commits_linter:0.17.0@sha256:d6fb0dfd79c2e06897692bc3f0dc62bcb7ce90a92030c81a3137935516d525d7
13+
image: ghcr.io/developerc286/conventional_commits_linter:0.17.1@sha256:f1b947937ee884ba7f886d04939cd4858f9aeafb50dcf94925a516c50e43021b
1414
steps:
1515
- name: Checkout code.
1616
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

.github/workflows/git-history.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
name: Clean
1111
runs-on: ubuntu-24.04
1212
container:
13-
image: ghcr.io/developerc286/clean_git_history:1.1.5@sha256:b1374591d48393f6b5fcc888f6bc7da05f7d218961f7850112130b1cad78186a
13+
image: ghcr.io/developerc286/clean_git_history:1.1.6@sha256:93fd9c692f6e629956921b8d068ccad33760882b6e0c6d4d32cd963380aec25f
1414
steps:
1515
- name: Checkout code.
1616
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

Makefile

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,34 +10,38 @@ CARGO_LOCKED := $(if $(CI),--locked,)
1010
.PHONY: default
1111
default: compile
1212

13+
.PHONY: check-shell-permissions
14+
check-shell-permissions:
15+
./ci/check-scripts-permissions.sh
16+
1317
.PHONY: check-rust-formatting
1418
check-rust-formatting:
1519
cargo fmt --all -- --check --config=group_imports=StdExternalCrate
1620

17-
.PHONY: check-shell-formatting
18-
check-shell-formatting:
19-
shfmt --simplify --diff ci/*
20-
21-
.PHONY: check-python-formatting
22-
check-python-formatting:
23-
autopep8 --exit-code --diff --aggressive --aggressive --max-line-length 120 --recursive end-to-end-tests/
24-
25-
.PHONY: check-yaml-formatting
26-
check-yaml-formatting:
27-
yamlfmt -verbose -lint -dstar .github/workflows/*
28-
2921
.PHONY: fix-rust-formatting
3022
fix-rust-formatting:
3123
cargo fmt --all -- --config=group_imports=StdExternalCrate
3224

25+
.PHONY: check-shell-formatting
26+
check-shell-formatting:
27+
shfmt --simplify --diff ci/*
28+
3329
.PHONY: fix-shell-formatting
3430
fix-shell-formatting:
3531
shfmt --simplify --write ci/*
3632

33+
.PHONY: check-python-formatting
34+
check-python-formatting:
35+
autopep8 --exit-code --diff --aggressive --aggressive --max-line-length 120 --recursive end-to-end-tests/
36+
3737
.PHONY: fix-python-formatting
3838
fix-python-formatting:
3939
autopep8 --in-place --aggressive --aggressive --max-line-length 120 --recursive end-to-end-tests/
4040

41+
.PHONY: check-yaml-formatting
42+
check-yaml-formatting:
43+
yamlfmt -verbose -lint -dstar .github/workflows/*
44+
4145
.PHONY: fix-yaml-formatting
4246
fix-yaml-formatting:
4347
yamlfmt -verbose -dstar .github/workflows/*
@@ -50,13 +54,21 @@ check-rust-linting:
5054
check-shell-linting:
5155
shellcheck ci/*.sh
5256

57+
.PHONY: check-python-linting
58+
check-python-linting:
59+
ruff check --line-length 120 end-to-end-tests/
60+
61+
.PHONY: fix-python-linting
62+
fix-python-linting:
63+
ruff check --fix --line-length 120 end-to-end-tests/
64+
5365
.PHONY: check-github-actions-workflows-linting
5466
check-github-actions-workflows-linting:
5567
actionlint -verbose -color
5668

57-
.PHONY: check-scripts-permissions
58-
check-scripts-permissions:
59-
./ci/check-scripts-permissions.sh
69+
.PHONY: check-rust-dependencies
70+
check-rust-dependencies:
71+
cargo +nightly udeps --all-targets
6072

6173
.PHONY: compile
6274
compile:

flake.nix

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,22 @@
4040
buildInputs = [
4141
# Rust with cross-compilation targets built-in.
4242
rustWithTargets
43-
# Shell scripts.
43+
# Shell formatting.
4444
pkgs.shfmt
45-
pkgs.shellcheck
46-
# GitHub Action Workflows.
45+
# Python formatting.
46+
pkgs.python313Packages.autopep8
47+
# YAML formatting.
4748
pkgs.yamlfmt
49+
# Shell linting.
50+
pkgs.shellcheck
51+
# Python linting.
52+
pkgs.ruff
53+
# GitHub Actions workflows linting.
4854
pkgs.actionlint
55+
# Rust dependencies check.
56+
pkgs.cargo-udeps
4957
# End to end tests.
5058
pkgs.python313
51-
pkgs.python313Packages.autopep8
5259
pkgs.python313Packages.behave
5360
pkgs.git
5461
# Deploying.

0 commit comments

Comments
 (0)