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
f431f5ed
Commit
f431f5ed
authored
Feb 24, 2026
by
shaw
Browse files
fix: 恢复backend-ci.yml
parent
980fc960
Changes
1
Show whitespace changes
Inline
Side-by-side
.github/workflows/backend-ci.yml
0 → 100644
View file @
f431f5ed
name
:
CI
on
:
push
:
pull_request
:
permissions
:
contents
:
read
jobs
:
test
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v4
-
uses
:
actions/setup-go@v5
with
:
go-version-file
:
backend/go.mod
check-latest
:
false
cache
:
true
-
name
:
Verify Go version
run
:
|
go version | grep -q 'go1.25.7'
-
name
:
Unit tests
working-directory
:
backend
run
:
make test-unit
-
name
:
Integration tests
working-directory
:
backend
run
:
make test-integration
golangci-lint
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v4
-
uses
:
actions/setup-go@v5
with
:
go-version-file
:
backend/go.mod
check-latest
:
false
cache
:
true
-
name
:
Verify Go version
run
:
|
go version | grep -q 'go1.25.7'
-
name
:
golangci-lint
uses
:
golangci/golangci-lint-action@v9
with
:
version
:
v2.7
args
:
--timeout=5m
working-directory
:
backend
\ No newline at end of file
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