Small clean-ups (#3896)

This commit is contained in:
Alexey Palazhchenko authored and GitHub committed 2023-12-21 13:23:54 +04:00
1 parent df1499d952
commit c5e44a7b33
8 files changed
+17 -8

No files matched your search

+1 -1
View File
@@ -125,7 +125,7 @@ jobs:
- name: Deploy to GitHub Pages
id: deploy
uses: actions/deploy-pages@v3
uses: actions/deploy-pages@v4
with:
artifact_name: docs
timeout: 300000 # 5*60*1000 milliseconds
-1
View File
@@ -95,7 +95,6 @@ jobs:
run: git checkout -b $BRANCH
- name: Setup Go
id: setup
uses: FerretDB/github-actions/setup-go@main
- name: Install Task
+5 -2
View File
@@ -217,11 +217,14 @@ For example:
with [Go execution tracer](https://pkg.go.dev/runtime/trace) enabled,
you may use `env GOFLAGS='-trace=trace.out' task test-integration-sqlite`.
> **Note**
>
<!-- textlint-disable one-sentence-per-line -->
> [!NOTE]
> It is not recommended to set `GOFLAGS` and other Go environment variables with `export GOFLAGS=...`
> or `go env -w GOFLAGS=...` because they are invisible and easy to forget about, leading to confusion.
<!-- textlint-enable one-sentence-per-line -->
In general, we prefer integration tests over unit tests,
tests using real databases over short tests
and real objects over mocks.
+5 -1
View File
@@ -90,10 +90,14 @@ See [our documentation](https://docs.ferretdb.io/quickstart-guide/) for more det
## Building and packaging
> **Note**
<!-- textlint-disable one-sentence-per-line -->
> [!NOTE]
> We strongly advise users not to build FerretDB themselves.
> Instead, use binaries, Docker images, or packages provided by us.
<!-- textlint-enable one-sentence-per-line -->
FerretDB could be built as any other Go program,
but a few generated files and build tags could affect it.
See [there](https://pkg.go.dev/github.com/FerretDB/FerretDB/build/version) for more details.
+3
View File
@@ -34,5 +34,8 @@
}
]
}
},
"filters": {
"comments": true
}
}
+1 -1
View File
@@ -1 +1 @@
FROM ghcr.io/ferretdb/ferretdb-prettier:2.8.8-1
FROM ghcr.io/ferretdb/ferretdb-prettier:3.1.1-1
+1 -1
View File
@@ -1 +1 @@
FROM ghcr.io/ferretdb/ferretdb-textlint:13.4.1-1
FROM ghcr.io/ferretdb/ferretdb-textlint:13.4.1-2
@@ -150,7 +150,7 @@ Our Acornfile abstracts the database URI and name in this Python file by specify
Next, we'll, we'll create a functional UI for these actions using the `templates/templates.html` file.
```html
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />