Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
1db6ae19
authored
Jul 28, 2026
by
CaIon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: enhance CI workflow to include vetting for Go modules
parent
8e2bfe27
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletions
+14
-1
.github/workflows/ci.yml
+14
-1
No files found.
.github/workflows/ci.yml
View file @
1db6ae19
...
@@ -13,7 +13,7 @@ concurrency:
...
@@ -13,7 +13,7 @@ concurrency:
jobs
:
jobs
:
backend
:
backend
:
name
:
Backend
build
and test
name
:
Backend
vet, build,
and test
if
:
github.event.action != 'closed' || github.event.pull_request.merged ==
true
if
:
github.event.action != 'closed' || github.event.pull_request.merged ==
true
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
timeout-minutes
:
15
timeout-minutes
:
15
...
@@ -23,6 +23,9 @@ jobs:
...
@@ -23,6 +23,9 @@ jobs:
steps
:
steps
:
-
name
:
Checkout
-
name
:
Checkout
uses
:
actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
# v7.0.0
uses
:
actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
# v7.0.0
with
:
repository
:
${{ github.event.pull_request.base.repo.full_name }}
ref
:
${{ github.event.action == 'closed' && github.event.pull_request.base.ref || github.ref }}
-
name
:
Set up Go
-
name
:
Set up Go
uses
:
actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16
# v6.5.0
uses
:
actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16
# v6.5.0
...
@@ -37,6 +40,13 @@ jobs:
...
@@ -37,6 +40,13 @@ jobs:
mkdir -p web/dist
mkdir -p web/dist
touch web/dist/index.html
touch web/dist/index.html
-
name
:
Vet root module
run
:
go vet ./...
-
name
:
Vet relaykit independently
working-directory
:
relaykit
run
:
go vet ./...
-
name
:
Build root module
-
name
:
Build root module
run
:
go build ./...
run
:
go build ./...
...
@@ -59,6 +69,9 @@ jobs:
...
@@ -59,6 +69,9 @@ jobs:
steps
:
steps
:
-
name
:
Checkout
-
name
:
Checkout
uses
:
actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
# v7.0.0
uses
:
actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
# v7.0.0
with
:
repository
:
${{ github.event.pull_request.base.repo.full_name }}
ref
:
${{ github.event.action == 'closed' && github.event.pull_request.base.ref || github.ref }}
-
name
:
Set up Bun
-
name
:
Set up Bun
uses
:
oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6
# v2.2.0
uses
:
oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6
# v2.2.0
...
...
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