Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
c1619de1
Unverified
Commit
c1619de1
authored
Mar 02, 2022
by
Matthew Slipper
Committed by
GitHub
Mar 02, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2244 from cfromknecht/fix-teleportr-ci
feat: fix teleportr ci, and lint target
parents
5b9386ca
0671bb74
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
3 deletions
+14
-3
golangci-lint.yml
.github/workflows/golangci-lint.yml
+9
-0
teleportr.yml
.github/workflows/teleportr.yml
+2
-2
db.go
go/teleportr/db/db.go
+3
-1
No files found.
.github/workflows/golangci-lint.yml
View file @
c1619de1
...
...
@@ -4,6 +4,8 @@ on:
paths
:
-
'
go/gas-oracle/**'
-
'
go/batch-submitter/**'
-
'
go/bss-core/**'
-
'
go/teleportr/**'
branches
:
-
'
master'
-
'
develop'
...
...
@@ -13,6 +15,8 @@ on:
paths
:
-
'
go/gas-oracle/**'
-
'
go/batch-submitter/**'
-
'
go/bss-core/**'
-
'
go/teleportr/**'
jobs
:
golangci
:
name
:
lint
...
...
@@ -34,3 +38,8 @@ jobs:
with
:
version
:
v1.29
working-directory
:
go/bss-core
-
name
:
golangci-lint teleportr
uses
:
golangci/golangci-lint-action@v2
with
:
version
:
v1.29
working-directory
:
go/teleportr
.github/workflows/teleportr.yml
View file @
c1619de1
...
...
@@ -25,8 +25,8 @@ jobs:
postgres
:
image
:
postgres
env
:
POSTGRES_USER=postgres
POSTGRES_PASSWORD=password
-
POSTGRES_USER=postgres
-
POSTGRES_PASSWORD=password
ports
:
-
5432:5432
steps
:
...
...
go/teleportr/db/db.go
View file @
c1619de1
...
...
@@ -180,7 +180,9 @@ func (d *Database) UpsertDeposits(deposits []Deposit) error {
if
err
!=
nil
{
return
err
}
defer
tx
.
Rollback
()
defer
func
()
{
_
=
tx
.
Rollback
()
}()
for
_
,
deposit
:=
range
deposits
{
...
...
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