Tulir Asokan
fe541df217
main: bump minimum Go version to 1.25
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2026-02-11 21:34:47 +02:00
Tulir Asokan
9dc3772c47
ci: update actions and pre-commit hooks
2025-12-13 10:54:58 +02:00
Tulir Asokan
315d2ab17d
all: fix staticcheck issues
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-12-08 00:07:25 +02:00
Tulir Asokan
9b075f8bb9
ci: disable tests on goolm again
2025-08-17 13:15:53 +03:00
Tulir Asokan
0f177058c1
ci: move tags to correct place
2025-08-17 13:13:24 +03:00
Tulir Asokan
0dc957fa30
ci: fix more things
2025-08-17 13:11:26 +03:00
Tulir Asokan
e85276fc0b
ci: disable gotestfmt in goolm
...
It explodes with `panic: BUG: Empty package name encountered.`
2025-08-17 12:59:18 +03:00
Tulir Asokan
d2e7302dae
ci: test goolm and jsonv2
2025-08-17 12:53:21 +03:00
Tulir Asokan
ee869b97e6
dependencies: update
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled
2025-08-13 20:33:04 +03:00
Tulir Asokan
aaad5119e0
dependencies: update go
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-02-12 13:44:24 +02:00
Tulir Asokan
eed7bc66a0
ci: use pre-commit action instead of running manually
2024-10-16 17:32:04 +03:00
Tulir Asokan
c2d0f4cf5d
ci: don't allow go to update itself
2024-09-13 13:27:37 +03:00
Sumner Evans
213b6ec80d
crypto/olm: make everything into an interface
...
This commit turns all of the crypto objects that are provided by olm
into interfaces so that multiple implementations (libolm and goolm right
now) can implement it.
As part of this refactor, the libolm code has been moved to a separate
package (goolm was already in its own package). Both packages now
implement structs which implement the various interfaces.
Additional changes:
* goolm/goolmbase64: split into separate package (needed to avoid import
loops)
* olm/errors: unified all errors under the olm package
* ci: remove libolm before building with goolm flag (this allows us to
use ./... to build all of the packages under goolm)
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2024-08-23 09:16:33 -06:00
Tulir Asokan
59efa808cb
main: drop support for Go 1.21
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2024-08-15 13:12:01 +03:00
Sumner Evans
a6b4b3bf34
ci: run tests with goolm as well
...
Co-authored-by: Tulir Asokan <tulir@maunium.net>
Signed-off-by: Sumner Evans <sumner@beeper.com>
2024-03-08 15:40:43 -07:00
Tulir Asokan
8bfa59b5d3
Add Go-version-independent names for actions
2024-02-09 13:44:49 +02:00
Tulir Asokan
a94162cde5
Update dependencies and bump minimum Go version to 1.21
2024-02-08 10:22:14 +02:00
Tulir Asokan
30b4ccfdb6
Update actions
2023-12-28 17:06:42 +01:00
Tulir Asokan
c0b5250d2b
Bump minimum Go version to 1.20
2023-08-10 22:31:33 +03:00
Tulir Asokan
c65a2d9c81
Add Go 1.21 to CI
2023-08-10 12:42:07 +03:00
Tulir Asokan
7343299d5a
Bump minimum Go version to 1.19
2023-02-16 16:53:10 +02:00
Tulir Asokan
6c5f855204
Update linters
2023-02-12 20:33:38 +02:00
Tulir Asokan
65db65c32c
Add token to gotestfmt-action to avoid ratelimiting
2023-01-03 12:07:31 +02:00
Sumner Evans
8157b00167
ci: update gotestfmt-action from haveyoudebuggedit -> GoTestTools
...
Signed-off-by: Sumner Evans <sumner@beeper.com>
2023-01-02 08:40:00 -07:00
Tulir Asokan
0da55f725c
Update dependencies, minimum Go version and CI
2022-08-20 15:38:35 +03:00
Tulir Asokan
0ce2fb3ce8
Add gotestfmt for tests in GH actions
2022-08-08 23:08:46 +03:00
Tulir Asokan
0cd3fcce0c
Add Go 1.19 to actions
2022-08-04 19:46:55 +03:00
Tulir Asokan
8d0794d086
Install libolm in lint action so go vet can compile
2022-08-04 19:45:40 +03:00
Tulir Asokan
0b8359f73e
Use Go 1.18 for lint
2022-03-23 13:14:49 +02:00
Tulir Asokan
cea71b3c6e
Update actions to checkout@v3 and setup-go@v3
2022-03-18 01:18:34 +02:00
Tulir Asokan
8d84de0b15
Bump minimum Go version to 1.17
2022-03-18 00:46:40 +02:00
Sumner Evans
af063590b5
ci: add pre-commit to lint process
2022-01-27 09:45:04 -07:00
Tulir Asokan
badc3775a7
Add sudo
2021-09-22 10:59:31 -04:00
Tulir Asokan
2b109396a8
Install olm in GH actions
2021-09-22 10:58:25 -04:00
Tulir Asokan
19e503c869
Add build/test/fmt to github actions
2021-09-22 10:54:14 -04:00