ci: add base

This commit is contained in:
2026-05-16 20:07:04 +02:00
parent 9b0d6a3279
commit cc32a01246
10 changed files with 579 additions and 28 deletions
+17
View File
@@ -0,0 +1,17 @@
name: Go Cache Key
description: Create a cache key for Go dependencies
outputs:
hash:
description: The cache key for Go dependencies
value: ${{ steps.hash-go.outputs.hash }}
runs:
using: composite
steps:
- name: Create cache key
shell: bash
id: hash-go
run: |
echo "hash=$(sha256sum go.mod go.sum | sha256sum | cut -d' ' -f1)" >> "$GITHUB_OUTPUT"
echo "hash=$hash" >> "$GITHUB_OUTPUT"