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

Update GitHub checkout action and pre-commit hooks #221

Merged
merged 1 commit into from
Sep 12, 2023
Merged
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
Update GitHub checkout action and pre-commit hooks
  • Loading branch information
uklotzde committed Sep 11, 2023
commit 5bc1d64465dfbb6b0c74b4ac7fa1b04b659b60d4
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
targets: ${{ matrix.target }}

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Generate Cargo.lock
run: cargo generate-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-crate-features.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
targets: ${{ matrix.target }}

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Generate Cargo.lock
run: cargo generate-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
components: clippy, rustfmt

- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Generate Cargo.lock
run: cargo generate-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
steps:
- uses: dtolnay/rust-toolchain@stable

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Publish release on crates.io
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security-audit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install cargo-audit
run: cargo install cargo-audit

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache Rust toolchain and build artifacts
uses: Swatinem/rust-cache@v2
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ repos:
stages:
- commit-msg
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.9.0
rev: v0.9.2
hooks:
- id: markdownlint-cli2
- repo: https://github.com/shellcheck-py/shellcheck-py
Expand All @@ -44,12 +44,12 @@ repos:
- id: codespell
args: [--ignore-words=.codespellignore]
- repo: https://github.com/sirosen/check-jsonschema
rev: 0.25.0
rev: 0.26.3
hooks:
- id: check-github-actions
- id: check-github-workflows
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.2
rev: v3.0.3
hooks:
- id: prettier
types_or:
Expand Down