Skip to content
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
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,19 @@ updates:

# GitHub Actions used by the workflows. Keeps the SHA-pinned actions in
# ci.yml / release.yml current so they cannot silently rot.
#
# Pin every action to a commit a version tag points at, and name that
# release in the trailing `# vX.Y.Z` comment. This file cannot enforce it:
# the github-actions ecosystem has no "releases only" setting, and the
# property lives in the SHA in the workflow, not here. Dependabot follows
# version tags for a SHA pin only while the pinned commit is itself
# tagged; for an untagged SHA it falls back to the head of the branch
# containing that commit and keeps it there, so one bump onto an untagged
# commit converts a release pin into branch-tracking, and preserves it
# once there. Swatinem/rust-cache was pinned to an untagged commit from
# the start, so it never left branch-tracking (#102). A tagged pin
# re-arms release-following on its own; what catches a relapse is
# checking a bumped SHA against the `# vX.Y.Z` comment it claims.
- package-ecosystem: "github-actions"
directory: "/"
schedule:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
# Tag runs re-verify a release: keep them off restored build state;
# PR/main runs keep the cache.
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: Swatinem/rust-cache@258712b0b7b1ddf8bddc9fc3b0faca682b2736c3 # v2
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
with:
workspaces: . -> target
- name: Format
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
# Tag runs re-verify a release: keep them off restored build state;
# PR/main runs keep the cache.
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: Swatinem/rust-cache@258712b0b7b1ddf8bddc9fc3b0faca682b2736c3 # v2
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
with:
workspaces: . -> target
- name: Clippy
Expand All @@ -96,7 +96,7 @@ jobs:
components: clippy
- name: Cache cargo
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: Swatinem/rust-cache@258712b0b7b1ddf8bddc9fc3b0faca682b2736c3 # v2
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
with:
workspaces: . -> target
- name: Clippy (beta)
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
toolchain: "1.88"
- name: Cache cargo
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: Swatinem/rust-cache@258712b0b7b1ddf8bddc9fc3b0faca682b2736c3 # v2
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
with:
workspaces: . -> target
- name: Build (MSRV)
Expand All @@ -159,7 +159,7 @@ jobs:
toolchain: "1.97.1"
- name: Cache cargo
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: Swatinem/rust-cache@258712b0b7b1ddf8bddc9fc3b0faca682b2736c3 # v2
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
with:
workspaces: . -> target
- name: Regenerate man page + completions
Expand Down