mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 15:03:09 -06:00
✚ Use go install for complement dependencies + another ms update.
This commit is contained in:
parent
941f65d388
commit
cf12410d39
2
.github/workflows/dendrite.yml
vendored
2
.github/workflows/dendrite.yml
vendored
|
|
@ -377,7 +377,7 @@ jobs:
|
||||||
# See https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md specifically GOROOT_1_17_X64
|
# See https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md specifically GOROOT_1_17_X64
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update && sudo apt-get install -y libolm3 libolm-dev
|
sudo apt-get update && sudo apt-get install -y libolm3 libolm-dev
|
||||||
go get -v github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest
|
go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest
|
||||||
- name: Run actions/checkout@v3 for dendrite
|
- name: Run actions/checkout@v3 for dendrite
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ func (s *multiRoomStatements) SelectMultiRoomData(ctx context.Context, r *types.
|
||||||
for rows.Next() {
|
for rows.Next() {
|
||||||
r := types.MultiRoomDataRow{}
|
r := types.MultiRoomDataRow{}
|
||||||
err = rows.Scan(&r.UserId, &r.Type, &r.Data, &t)
|
err = rows.Scan(&r.UserId, &r.Type, &r.Data, &t)
|
||||||
r.Timestamp = t.Unix()
|
r.Timestamp = t.UnixMilli()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("rows scan: %w", err)
|
return nil, fmt.Errorf("rows scan: %w", err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue