Skip to content

Commit 4203b3a

Browse files
chore(ci): expand SHA pin comments to full semver for Dependabot
Change version comments from major tags (e.g. # v6) to full semver (e.g. # v6.0.2) so Dependabot can parse and update the pins correctly. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
1 parent 4cbeca6 commit 4203b3a

2 files changed

Lines changed: 24 additions & 24 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
name: Check & Lint
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
21-
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
20+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
21+
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
2222
with:
2323
path: |
2424
~/.cargo/registry/index/
@@ -48,8 +48,8 @@ jobs:
4848
name: Test
4949
runs-on: ubuntu-latest
5050
steps:
51-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
52-
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
51+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
52+
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
5353
with:
5454
path: |
5555
~/.cargo/registry/index/
@@ -69,8 +69,8 @@ jobs:
6969
name: Code Coverage
7070
runs-on: ubuntu-latest
7171
steps:
72-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
73-
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
72+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
73+
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
7474
with:
7575
path: |
7676
~/.cargo/registry/index/
@@ -90,7 +90,7 @@ jobs:
9090
- name: Coverage summary
9191
run: cargo llvm-cov report --ignore-filename-regex 'main\.rs|auth/'
9292
- name: Upload coverage artifact
93-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
93+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
9494
with:
9595
name: coverage-report
9696
path: lcov.info
@@ -99,8 +99,8 @@ jobs:
9999
name: Cross Compile (Linux)
100100
runs-on: ubuntu-latest
101101
steps:
102-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
103-
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
102+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
103+
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
104104
with:
105105
path: |
106106
~/.cargo/registry/index/
@@ -148,8 +148,8 @@ jobs:
148148
name: Cross Compile (macOS)
149149
runs-on: macos-latest
150150
steps:
151-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
152-
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
151+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
152+
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
153153
with:
154154
path: |
155155
~/.cargo/registry/index/
@@ -193,8 +193,8 @@ jobs:
193193
run:
194194
shell: bash
195195
steps:
196-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
197-
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
196+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
197+
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
198198
with:
199199
path: |
200200
~/.cargo/registry/index/
@@ -224,8 +224,8 @@ jobs:
224224
name: WASM (WASI + Browser)
225225
runs-on: ubuntu-latest
226226
steps:
227-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
228-
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
227+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
228+
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
229229
with:
230230
path: |
231231
~/.cargo/registry/index/

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
goreleaser:
1414
runs-on: macos-latest
1515
steps:
16-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
16+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1717
with:
1818
fetch-depth: 0
1919
- name: Fetch all tags
2020
run: git fetch --force --tags
2121
- name: Cache Zig
2222
id: cache-zig
23-
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
23+
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
2424
with:
2525
path: ${{ github.workspace }}/zig-macos-aarch64-0.13.0
2626
key: zig-0.13.0-macos-aarch64
@@ -36,7 +36,7 @@ jobs:
3636
rustup toolchain install stable --profile minimal
3737
rustup default stable
3838
- name: Cache Rust dependencies
39-
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
39+
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
4040
with:
4141
path: |
4242
~/.cargo/registry/index
@@ -49,10 +49,10 @@ jobs:
4949
- name: Install build tools
5050
run: brew install cargo-zigbuild wasm-pack
5151
- name: Install cosign
52-
uses: sigstore/cosign-installer@398d4b0eeef1380460a10c8013a76f728fb906ac # v3
52+
uses: sigstore/cosign-installer@398d4b0eeef1380460a10c8013a76f728fb906ac # v3.9.1
5353
- name: Install syft
54-
uses: anchore/sbom-action/download-syft@e22c389904149dbc22b58101806040fa8d37a610 # v0
55-
- uses: goreleaser/goreleaser-action@ec59f474b9834571250b370d4735c50f8e2d1e29 # v7
54+
uses: anchore/sbom-action/download-syft@e22c389904149dbc22b58101806040fa8d37a610 # v0.24.0
55+
- uses: goreleaser/goreleaser-action@ec59f474b9834571250b370d4735c50f8e2d1e29 # v7.0.0
5656
with:
5757
distribution: goreleaser
5858
version: "~> v2"
@@ -68,7 +68,7 @@ jobs:
6868
run:
6969
shell: bash
7070
steps:
71-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
71+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7272
with:
7373
fetch-depth: 0
7474
- name: Enable long paths
@@ -82,7 +82,7 @@ jobs:
8282
rustup toolchain install stable --profile minimal
8383
rustup default stable
8484
- name: Cache Rust dependencies
85-
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
85+
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
8686
with:
8787
path: |
8888
~/.cargo/registry/index
@@ -107,7 +107,7 @@ jobs:
107107
cd staging
108108
7z a "../pup_${{ steps.version.outputs.version }}_Windows_x86_64.zip" .
109109
- name: Install cosign
110-
uses: sigstore/cosign-installer@398d4b0eeef1380460a10c8013a76f728fb906ac # v3
110+
uses: sigstore/cosign-installer@398d4b0eeef1380460a10c8013a76f728fb906ac # v3.9.1
111111
- name: Upload to release
112112
run: gh release upload "$GITHUB_REF_NAME" "pup_${{ steps.version.outputs.version }}_Windows_x86_64.zip" --clobber
113113
env:

0 commit comments

Comments
 (0)