feat: adjust sample to mvp (#1)
Reviewed-on: #1 Co-authored-by: Timo Behrendt <t.behrendt@t00n.de> Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
This commit was merged in pull request #1.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user