Skip to content

Commit dcd25ae

Browse files
committed
ci: use unirtm install to provide syft for goreleaser sboms
1 parent 86ee71e commit dcd25ae

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

.github/workflows/goreleaser.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,24 @@ jobs:
213213
cleanup: true
214214
timeout-minutes: 5
215215

216-
- name: "📦 Install Syft"
217-
uses: anchore/sbom-action/download-syft@v0
216+
- name: "⚡ Cache UniRTM Tools"
217+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
218+
with:
219+
path: |
220+
~/.local/bin
221+
~/.local/share/unirtm
222+
~/Library/Application Support/unirtm
223+
~/AppData/Local/unirtm
224+
key: ${{ runner.os }}-unirtm-${{ hashFiles('.unirtm.toml', 'unirtm.lock') }}
225+
restore-keys: |
226+
${{ runner.os }}-unirtm-
227+
228+
- name: "🚀 Initialize Development Environment"
229+
shell: sh
230+
env:
231+
GITHUB_TOKEN: ${{ secrets.WORKFLOW_SECRET || secrets.GITHUB_TOKEN }}
232+
run: |
233+
unirtm install
218234
219235
- name: "🚀 Distribute Artifacts (GoReleaser)"
220236
uses: goreleaser/goreleaser-action@ec59f474b9834571250b370d4735c50f8e2d1e29 # v7.0.0

0 commit comments

Comments
 (0)