Skip to content
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

ci update ci config #83

Merged
merged 44 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
f37a94b
build(deps): bump rustsec/audit-check from 1.4.1 to 2.0.0
dependabot[bot] Sep 24, 2024
8b36b5c
Merge pull request #83 from rodneylab/dependabot/github_actions/rusts…
rodneylab Sep 28, 2024
a60cd24
build(deps): bump github/codeql-action from 3.26.7 to 3.26.9
dependabot[bot] Sep 28, 2024
5b5d0f3
Merge pull request #84 from rodneylab/dependabot/github_actions/githu…
rodneylab Sep 28, 2024
ffa82b8
build(deps): bump actions/checkout from 4.1.7 to 4.2.0
dependabot[bot] Sep 28, 2024
a0bc736
Merge pull request #85 from rodneylab/dependabot/github_actions/actio…
rodneylab Sep 28, 2024
5125566
ci: 🐝 update pre-commit config
rodneylab Sep 28, 2024
cabfd25
Merge pull request #86 from rodneylab/ci__update_ci_config
rodneylab Sep 28, 2024
4b40981
build(deps): bump github/codeql-action from 3.26.9 to 3.26.10
dependabot[bot] Oct 1, 2024
49966fa
Merge pull request #87 from rodneylab/dependabot/github_actions/githu…
rodneylab Oct 1, 2024
e0dad75
build(deps): bump codecov/codecov-action from 4.5.0 to 4.6.0
dependabot[bot] Oct 2, 2024
f38e3ea
Merge pull request #88 from rodneylab/dependabot/github_actions/codec…
rodneylab Oct 7, 2024
a2fd344
build(deps): bump github/codeql-action from 3.26.10 to 3.26.11
dependabot[bot] Oct 7, 2024
0156990
Merge pull request #89 from rodneylab/dependabot/github_actions/githu…
rodneylab Oct 7, 2024
ed998c0
ci: 🐝 update CI config
rodneylab Oct 7, 2024
c663ad6
Merge pull request #90 from rodneylab/ci__update_ci_config
rodneylab Oct 7, 2024
ea5b189
build(deps): bump actions/checkout from 4.2.0 to 4.2.1
dependabot[bot] Oct 8, 2024
666d49a
Merge pull request #91 from rodneylab/dependabot/github_actions/actio…
rodneylab Oct 18, 2024
4c53de8
build(deps): bump actions/upload-artifact from 4.4.0 to 4.4.3
dependabot[bot] Oct 18, 2024
4bad0fc
Merge pull request #95 from rodneylab/dependabot/github_actions/actio…
rodneylab Oct 18, 2024
4712583
build(deps): bump github/codeql-action from 3.26.11 to 3.26.13
dependabot[bot] Oct 18, 2024
18d2ef0
Merge pull request #96 from rodneylab/dependabot/github_actions/githu…
rodneylab Oct 18, 2024
074dfff
ci: 🐝 update CI config
rodneylab Oct 18, 2024
59f4e23
Merge pull request #97 from rodneylab/ci__update_ci_config
rodneylab Oct 18, 2024
af26b4b
build(deps): bump actions/dependency-review-action from 4.3.4 to 4.3.5
dependabot[bot] Oct 22, 2024
388ceb4
Merge pull request #98 from rodneylab/dependabot/github_actions/actio…
rodneylab Oct 22, 2024
142f3a5
ci: 🐝 update dprint config
rodneylab Oct 22, 2024
80a6b70
Merge pull request #99 from rodneylab/ci__update_ci_config
rodneylab Oct 22, 2024
82c8b52
build(deps): bump github/codeql-action from 3.26.13 to 3.27.0
dependabot[bot] Oct 23, 2024
ddc3f84
Merge pull request #100 from rodneylab/dependabot/github_actions/gith…
rodneylab Oct 23, 2024
76ba01b
build(deps): bump actions/checkout from 4.2.1 to 4.2.2
dependabot[bot] Oct 24, 2024
fbda803
Merge pull request #101 from rodneylab/dependabot/github_actions/acti…
rodneylab Oct 25, 2024
119ce35
build(deps): bump actions/setup-go from 5.0.2 to 5.1.0
dependabot[bot] Oct 25, 2024
2c51b41
Merge pull request #102 from rodneylab/dependabot/github_actions/acti…
rodneylab Oct 25, 2024
3439b5f
build(deps): bump actions/setup-python from 5.2.0 to 5.3.0
dependabot[bot] Oct 25, 2024
a3c224f
Merge pull request #103 from rodneylab/dependabot/github_actions/acti…
rodneylab Oct 25, 2024
fab171f
ci: 🐝 update pre-commit config
rodneylab Oct 25, 2024
af9d408
Merge pull request #104 from rodneylab/ci__update_ci_config
rodneylab Oct 25, 2024
62c7fdd
build(deps): bump actions/dependency-review-action from 4.3.5 to 4.4.0
dependabot[bot] Oct 29, 2024
238c72e
Merge pull request #105 from rodneylab/dependabot/github_actions/acti…
rodneylab Oct 30, 2024
97cfd52
ci: 🐝 update CI config
rodneylab Oct 30, 2024
240571e
Merge pull request #106 from rodneylab/ci__update_ci_config
rodneylab Oct 30, 2024
cd822e3
ci: 🐝 update CI config
rodneylab Nov 5, 2024
39653c2
style: 🛁 linting
rodneylab Nov 5, 2024
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
4 changes: 2 additions & 2 deletions .github/workflows/audit-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
security_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: rustsec/audit-check@dd51754d4e59da7395a4cd9b593f0ff2d61a9b95 # v1.4.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: rustsec/audit-check@69366f33c96575abad1ee0dba8212993eecbe998 # v2.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:
egress-policy: audit
disable-telemetry: true
- name: 'Checkout Repository'
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 'Dependency Review'
uses: actions/dependency-review-action@5a2ce3f5b92ee19cbb1541a4984c76d921601d7c # v4.3.4
uses: actions/dependency-review-action@4081bf99e2866ebe428fc0477b69eb4fcda7220a # v4.4.0
14 changes: 7 additions & 7 deletions .github/workflows/general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
disable-telemetry: true
- name: Install Linux Dependencies
run: sudo apt-get update
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: dtolnay/rust-toolchain@4f366e621dc8fa63f557ca04b8f4361824a35a45 # stable
- name: Run tests
run: cargo test
Expand All @@ -37,7 +37,7 @@ jobs:
with:
egress-policy: audit
disable-telemetry: true
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: dtolnay/rust-toolchain@4f366e621dc8fa63f557ca04b8f4361824a35a45 # stable
with:
components: rustfmt
Expand All @@ -50,7 +50,7 @@ jobs:
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: dprint/check@2f1cf31537886c3bfb05591c031f7744e48ba8a1 # v2.2
clippy:
name: Clippy
Expand All @@ -61,7 +61,7 @@ jobs:
with:
egress-policy: audit
disable-telemetry: true
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: dtolnay/rust-toolchain@4f366e621dc8fa63f557ca04b8f4361824a35a45 # stable
with:
components: clippy
Expand All @@ -74,7 +74,7 @@ jobs:
msrv: ["1.73.0"]
name: ubuntu / ${{ matrix.msrv }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install Linux Dependencies
run: sudo apt-get update
- name: Install ${{ matrix.msrv }}
Expand All @@ -95,7 +95,7 @@ jobs:
- name: Install Linux Dependencies
run: sudo apt-get update
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: dtolnay/rust-toolchain@4f366e621dc8fa63f557ca04b8f4361824a35a45 # stable
with:
components: llvm-tools-preview
Expand All @@ -108,7 +108,7 @@ jobs:
- name: Generate code coverage
run: grcov . -s . --binary-path ./target/debug/ -t lcov --branch --ignore-not-existing -o ./target/debug/
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
file: ./target/debug/lcov
env:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ jobs:
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
disable-telemetry: true
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: '3.13'
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version: '>=1.18.0'
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scheduled-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: rustsec/audit-check@dd51754d4e59da7395a4cd9b593f0ff2d61a9b95 # v1.4.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: rustsec/audit-check@69366f33c96575abad1ee0dba8212993eecbe998 # v2.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
egress-policy: audit
disable-telemetry: true
- name: "Checkout code"
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: "Run analysis"
Expand All @@ -58,13 +58,13 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: SARIF file
path: results.sarif
retention-days: 5
# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@8214744c546c1e5c8f03dde8fab3a7353211988d # v3.26.7
uses: github/codeql-action/upload-sarif@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
with:
sarif_file: results.sarif
2 changes: 1 addition & 1 deletion .github/workflows/validate-licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
# Prevent sudden announcement of a new advisory from failing ci:
continue-on-error: ${{ matrix.checks == 'advisories' }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: EmbarkStudios/cargo-deny-action@8371184bd11e21dcf8ac82ebf8c9c9f74ebf7268 # v2.0.1
with:
command: check ${{ matrix.checks }}
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.29.0
rev: v3.30.0
hooks:
- id: commitizen
stages:
Expand All @@ -12,15 +12,15 @@ repos:
- id: cargo-check
- id: clippy
- repo: https://github.com/gitleaks/gitleaks
rev: v8.19.1
rev: v8.21.2
hooks:
- id: gitleaks
- repo: https://github.com/google/yamlfmt
rev: v0.13.0
hooks:
- id: yamlfmt
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
args:
Expand Down
8 changes: 0 additions & 8 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
# list here is effectively saying which targets you are building for.
targets = [


# The triple can be any string, but only the target triples built in to
# rustc (as of 1.40) can be checked against actual config expressions
# "x86_64-unknown-linux-musl",
Expand Down Expand Up @@ -73,7 +72,6 @@ feature-depth = 1
# output a note when they are encountered.
ignore = [


# "RUSTSEC-0000-0000",
# { id = "RUSTSEC-0000-0000", reason = "you can specify a reason the advisory is ignored" },
# "a-crate-that-is-yanked@0.1.1", # you can also ignore yanked crate versions if you wish
Expand Down Expand Up @@ -108,7 +106,6 @@ confidence-threshold = 0.8
# aren't accepted for every possible crate as with the normal allow list
exceptions = [


# Each entry is the crate and version constraint, and its specific allow
# list
# { allow = ["Zlib"], crate = "adler32" },
Expand Down Expand Up @@ -143,7 +140,6 @@ ignore = false
# not have its license(s) checked
registries = [


# "https://sekretz.com/registry
]

Expand Down Expand Up @@ -172,14 +168,12 @@ external-default-features = "allow"
# List of crates that are allowed. Use with care!
allow = [


# "ansi_term@0.11.0",
# { crate = "ansi_term@0.11.0", reason = "you can specify a reason it is allowed" },
]
# List of crates to deny
deny = [


# "ansi_term@0.11.0",
# { crate = "ansi_term@0.11.0", reason = "you can specify a reason it is banned" },
# Wrapper crates can optionally be specified to allow the crate when it
Expand Down Expand Up @@ -213,7 +207,6 @@ deny = [
# Certain crates/versions that will be skipped when doing duplicate detection.
skip = [


# "ansi_term@0.11.0",
# { crate = "ansi_term@0.11.0", reason = "you can specify a reason why it can't be updated/removed" },
]
Expand All @@ -223,7 +216,6 @@ skip = [
# by default infinite.
skip-tree = [


# "ansi_term@0.11.0", # will be skipped along with _all_ of its direct and transitive dependencies
# { crate = "ansi_term@0.11.0", depth = 20 },
]
Expand Down
4 changes: 2 additions & 2 deletions dprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"toml": {},
"excludes": ["**/*-lock.json"],
"plugins": [
"https://plugins.dprint.dev/json-0.19.3.wasm",
"https://plugins.dprint.dev/json-0.19.4.wasm",
"https://plugins.dprint.dev/markdown-0.17.8.wasm",
"https://plugins.dprint.dev/toml-0.6.2.wasm"
"https://plugins.dprint.dev/toml-0.6.3.wasm"
]
}
Loading