Skip to content

Commit 2a4cfa7

Browse files
committed
Add audit.yml GitHub action, modify ci.yml, add .pre-commit-config.yaml
1 parent 115eeea commit 2a4cfa7

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

.github/workflows/audit.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
name: Security audit
22

33
on:
4-
# schedule:
5-
# - cron: "0 0 * * *"
64
push:
75
paths:
86
- "**/Cargo.lock"
97
- "**/Cargo.toml"
108
- "**/deny.toml"
9+
pull_request:
10+
types: [ opened, reopened, synchronize ]
11+
branches:
12+
- main
13+
# schedule:
14+
# - cron: "0 0 * * *"
1115

1216
jobs:
1317

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ name: CI
33
on:
44
push:
55
branches:
6-
- "*"
7-
tags:
8-
- "*"
6+
- main
97
pull_request:
108
types: [ opened, reopened, synchronize ]
119
branches:

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,3 @@ repos:
4545
- id: check-added-large-files
4646
- id: check-yaml
4747
- id: end-of-file-fixer
48-
# - id: trailing-whitespace

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
- Some form of concurrent execution, but this might not be necessary as some
1111
dependencies already use `rayon` and `crossbeam`.
1212

13-
## [0.2.4] - 2025-09-28
13+
## [0.2.4] - 2025-09-30
1414

1515
### Added
1616

@@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2222
### Changed
2323
- Updated several dependencies to newer versions.
2424
- `cargo audit` found a security vulnerability in a dependency (that version has been yanked).
25+
- The build process for the release profile now uses the LTO optimization.
2526

2627
## [0.2.3] - 2024-07-10
2728

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ opt-level = 3
3232

3333
[profile.release]
3434
strip = "symbols"
35-
#lto = "fat"
36-
#codegen-units = 1
35+
lto = "fat"
36+
codegen-units = 1

0 commit comments

Comments
 (0)