Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
f6f8695a
Commit
f6f8695a
authored
Mar 01, 2026
by
Salman Muin Kayser Chishti
Browse files
Upgrade GitHub Actions for Node 24 compatibility
Signed-off-by:
Salman Muin Kayser Chishti
<
13schishti@gmail.com
>
parent
f7fa71bc
Changes
3
Hide whitespace changes
Inline
Side-by-side
.github/workflows/backend-ci.yml
View file @
f6f8695a
...
@@ -11,8 +11,8 @@ jobs:
...
@@ -11,8 +11,8 @@ jobs:
test
:
test
:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
uses
:
actions/checkout@v
4
-
uses
:
actions/checkout@v
6
-
uses
:
actions/setup-go@v
5
-
uses
:
actions/setup-go@v
6
with
:
with
:
go-version-file
:
backend/go.mod
go-version-file
:
backend/go.mod
check-latest
:
false
check-latest
:
false
...
@@ -30,8 +30,8 @@ jobs:
...
@@ -30,8 +30,8 @@ jobs:
golangci-lint
:
golangci-lint
:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
uses
:
actions/checkout@v
4
-
uses
:
actions/checkout@v
6
-
uses
:
actions/setup-go@v
5
-
uses
:
actions/setup-go@v
6
with
:
with
:
go-version-file
:
backend/go.mod
go-version-file
:
backend/go.mod
check-latest
:
false
check-latest
:
false
...
...
.github/workflows/release.yml
View file @
f6f8695a
...
@@ -31,7 +31,7 @@ jobs:
...
@@ -31,7 +31,7 @@ jobs:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
name
:
Checkout
-
name
:
Checkout
uses
:
actions/checkout@v
4
uses
:
actions/checkout@v
6
-
name
:
Update VERSION file
-
name
:
Update VERSION file
run
:
|
run
:
|
...
@@ -45,7 +45,7 @@ jobs:
...
@@ -45,7 +45,7 @@ jobs:
echo "Updated VERSION file to: $VERSION"
echo "Updated VERSION file to: $VERSION"
-
name
:
Upload VERSION artifact
-
name
:
Upload VERSION artifact
uses
:
actions/upload-artifact@v
4
uses
:
actions/upload-artifact@v
7
with
:
with
:
name
:
version-file
name
:
version-file
path
:
backend/cmd/server/VERSION
path
:
backend/cmd/server/VERSION
...
@@ -55,7 +55,7 @@ jobs:
...
@@ -55,7 +55,7 @@ jobs:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
name
:
Checkout
-
name
:
Checkout
uses
:
actions/checkout@v
4
uses
:
actions/checkout@v
6
-
name
:
Setup pnpm
-
name
:
Setup pnpm
uses
:
pnpm/action-setup@v4
uses
:
pnpm/action-setup@v4
...
@@ -63,7 +63,7 @@ jobs:
...
@@ -63,7 +63,7 @@ jobs:
version
:
9
version
:
9
-
name
:
Setup Node.js
-
name
:
Setup Node.js
uses
:
actions/setup-node@v
4
uses
:
actions/setup-node@v
6
with
:
with
:
node-version
:
'
20'
node-version
:
'
20'
cache
:
'
pnpm'
cache
:
'
pnpm'
...
@@ -78,7 +78,7 @@ jobs:
...
@@ -78,7 +78,7 @@ jobs:
working-directory
:
frontend
working-directory
:
frontend
-
name
:
Upload frontend artifact
-
name
:
Upload frontend artifact
uses
:
actions/upload-artifact@v
4
uses
:
actions/upload-artifact@v
7
with
:
with
:
name
:
frontend-dist
name
:
frontend-dist
path
:
backend/internal/web/dist/
path
:
backend/internal/web/dist/
...
@@ -89,25 +89,25 @@ jobs:
...
@@ -89,25 +89,25 @@ jobs:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
name
:
Checkout
-
name
:
Checkout
uses
:
actions/checkout@v
4
uses
:
actions/checkout@v
6
with
:
with
:
fetch-depth
:
0
fetch-depth
:
0
ref
:
${{ github.event.inputs.tag || github.ref }}
ref
:
${{ github.event.inputs.tag || github.ref }}
-
name
:
Download VERSION artifact
-
name
:
Download VERSION artifact
uses
:
actions/download-artifact@v
4
uses
:
actions/download-artifact@v
8
with
:
with
:
name
:
version-file
name
:
version-file
path
:
backend/cmd/server/
path
:
backend/cmd/server/
-
name
:
Download frontend artifact
-
name
:
Download frontend artifact
uses
:
actions/download-artifact@v
4
uses
:
actions/download-artifact@v
8
with
:
with
:
name
:
frontend-dist
name
:
frontend-dist
path
:
backend/internal/web/dist/
path
:
backend/internal/web/dist/
-
name
:
Setup Go
-
name
:
Setup Go
uses
:
actions/setup-go@v
5
uses
:
actions/setup-go@v
6
with
:
with
:
go-version-file
:
backend/go.mod
go-version-file
:
backend/go.mod
check-latest
:
false
check-latest
:
false
...
...
.github/workflows/security-scan.yml
View file @
f6f8695a
...
@@ -14,9 +14,9 @@ jobs:
...
@@ -14,9 +14,9 @@ jobs:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
timeout-minutes
:
15
timeout-minutes
:
15
steps
:
steps
:
-
uses
:
actions/checkout@v
4
-
uses
:
actions/checkout@v
6
-
name
:
Set up Go
-
name
:
Set up Go
uses
:
actions/setup-go@v
5
uses
:
actions/setup-go@v
6
with
:
with
:
go-version-file
:
backend/go.mod
go-version-file
:
backend/go.mod
check-latest
:
false
check-latest
:
false
...
@@ -33,13 +33,13 @@ jobs:
...
@@ -33,13 +33,13 @@ jobs:
frontend-security
:
frontend-security
:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
uses
:
actions/checkout@v
4
-
uses
:
actions/checkout@v
6
-
name
:
Set up pnpm
-
name
:
Set up pnpm
uses
:
pnpm/action-setup@v4
uses
:
pnpm/action-setup@v4
with
:
with
:
version
:
9
version
:
9
-
name
:
Set up Node.js
-
name
:
Set up Node.js
uses
:
actions/setup-node@v
4
uses
:
actions/setup-node@v
6
with
:
with
:
node-version
:
'
20'
node-version
:
'
20'
cache
:
'
pnpm'
cache
:
'
pnpm'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment