Skip to content

Commit 414ef1b

Browse files
authored
Merge pull request #487 from Hack23/copilot/improve-release-workflow
fix: resolve release workflow warnings — replace deprecated attest-sbom, remove broken apt cache
2 parents f955fd1 + 2b1986f commit 414ef1b

File tree

2 files changed

+3
-27
lines changed

2 files changed

+3
-27
lines changed

.github/release-drafter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ template: |
9393
- ⚡ **Vite** - Fast build tool and dev server
9494
- ⚛️ **React 19** - Modern React with hooks
9595
- 🔷 **TypeScript** - Strict typing with latest standards
96-
- 🎮 **PixiJS 8.x** - High-performance WebGL renderer
97-
- 🎵 **Howler.js** - Audio library for games
96+
- 🎮 **Three.js** - High-performance 3D WebGL renderer
97+
- 🎨 **@react-three/fiber** - React renderer for Three.js
9898
- 🧪 **Vitest** - Fast unit testing with coverage
9999
- 🌲 **Cypress** - Reliable E2E testing
100100

.github/workflows/release.yml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,6 @@ jobs:
5050
echo "version=${VERSION}" >> $GITHUB_OUTPUT
5151
echo "Version: ${VERSION}"
5252
53-
- name: Cache apt packages
54-
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
55-
with:
56-
path: /var/cache/apt/archives
57-
key: ${{ runner.os }}-apt-${{ hashFiles('.github/workflows/release.yml') }}
58-
restore-keys: |
59-
${{ runner.os }}-apt-
60-
6153
- name: Setup display and dependencies
6254
run: |
6355
sudo apt-get update
@@ -71,14 +63,6 @@ jobs:
7163
node-version: "24"
7264
cache: "npm"
7365

74-
- name: Cache dependencies
75-
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
76-
with:
77-
path: ~/.npm
78-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
79-
restore-keys: |
80-
${{ runner.os }}-node-
81-
8266
- name: Cache Cypress binary
8367
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
8468
with:
@@ -151,14 +135,6 @@ jobs:
151135
node-version: "24"
152136
cache: "npm"
153137

154-
- name: Cache dependencies
155-
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
156-
with:
157-
path: ~/.npm
158-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
159-
restore-keys: |
160-
${{ runner.os }}-node-
161-
162138
- name: Install dependencies
163139
run: npm ci
164140

@@ -211,7 +187,7 @@ jobs:
211187

212188
- name: Generate SBOM attestation
213189
id: attestsbom
214-
uses: actions/attest-sbom@07e74fc4e78d1aad915e867f9a094073a9f71527 # v4.0.0
190+
uses: actions/attest@59d89421af93a897026c735860bf21b6eb4f7b26 # v4.1.0
215191
with:
216192
subject-path: game-${{ needs.prepare.outputs.version }}.zip
217193
sbom-path: game-${{ needs.prepare.outputs.version }}.spdx.json

0 commit comments

Comments
 (0)